How To Install Portainer Docker UI Manager On Ubuntu 20
How To Install Portainer Docker UI Manager On Ubuntu 20
Output:
docker-ce | 5:19.03.12~3-0~ubuntu-focal |
https://download.docker.com/linux/ubuntu focal/stable amd64 Packages
docker-ce | 5:19.03.11~3-0~ubuntu-focal |
https://download.docker.com/linux/ubuntu focal/stable amd64 Packages
docker-ce | 5:19.03.10~3-0~ubuntu-focal |
https://download.docker.com/linux/ubuntu focal/stable amd64 Packages
docker-ce | 5:19.03.9~3-0~ubuntu-focal |
https://download.docker.com/linux/ubuntu focal/stable amd64 Packages
....
Now to install a specific version, run the commands below with the version you wish
to install:
#sudo apt-get install docker-ce=5:19.03.10~3-0~ubuntu-focal docker-ce-
cli=5:19.03.10~3-0~ubuntu-focal containerd.io
If you just want to latest version without specifying above, run the commands below.
The command below will always install the highest possible version:
#sudo apt-get install docker-ce docker-ce-cli containerd.io
This will install Docker software on Ubuntu.
Add your account, for most cases it will be ubuntu, to Docker group and restart:
#sudo usermod -aG docker $USER
Reboot your instance:
#sudo reboot
To verify that Docker CE is installed correctly you can run the hello-world image:
#sudo docker run hello-world
If Docker is installed correctly you will see the following response:
Response: