Loading files
aaf7a9387This file is pinned to the selected release. Download the original to open it in your design tool.
# Ubuntu 22.04+
* **Minimum Requirements**
* Quad-core CPU running at 2.0 GHz+
* 8 GiB of RAM
* **Recommended Requirements**
* 6th Gen Intel® Core CPU or later OR AMD Ryzen™ 1000-series or later
* 16 GiB of RAM
Only Ubuntu 22.04 and above are supported.
```{note}
We also test an alternative container engine, Podman, in our CI for Ubuntu
24.04/26.04. We explicitly do not support 22.04 because of a number of bugs
we've encountered in the very out-of-date version of Podman.
```
```{include} ../_ubuntu_packages.md
:heading-offset: 1
```
## Installing Docker
Next, install Docker.
Follow [the instructions provided in the Docker documentation here](https://docs.docker.com/engine/install/ubuntu/) as the steps provided below might be outdated.
:::{warning}
The steps below might become outdated, it is encouraged to follow the link to the official Docker documentation.
:::
```sh
# Remove old installations
sudo apt-get remove docker docker-engine docker.io containerd runc
# Installation of requirements
sudo apt-get update
sudo apt-get install \
ca-certificates \
curl \
gnupg \
lsb-release
# Add the keyrings of docker
sudo mkdir -p /etc/apt/keyrings
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg
# Add the package repository
echo \
"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu \
$(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
# Update the package repository
sudo apt-get update
# Install Docker
sudo apt-get install docker-ce docker-ce-cli containerd.io docker-compose-plugin
# Check for installation
sudo docker run hello-world
```
A successful installation of Docker would have this output:
```
Hello from Docker!
This message shows that your installation appears to be working correctly.
To generate this message, Docker took the following steps:
1. The Docker client contacted the Docker daemon.
2. The Docker daemon pulled the "hello-world" image from the Docker Hub. (amd64)
3. The Docker daemon created a new container from that image which runs the executable that produces the output you are currently reading.
4. The Docker daemon streamed that output to the Docker client, which sent it to your terminal.
To try something more ambitious, you can run an Ubuntu container with:
$ docker run -it ubuntu bash
Share images, automate workflows, and more with a free Docker ID:
https://hub.docker.com/
For more examples and ideas, visit:
https://docs.docker.com/get-started/
```
```{include} docker_no_root.md
:heading-offset: 1
```
```{include} _common.md
:heading-offset: 1
```