The installation instructions go up to Xenial... https://docs.docker.com/engine/installation/linux/ubuntulinux/ . Any idea how to install it on Yakkety?
You need to download a new file each time you want to upgrade Docker. Go to https://download.docker.com/linux/ubuntu/dists/ , choose your Ubuntu version, then browse to pool/stable/ , choose amd64 , armhf , arm64 , or s390x , and download the .deb file for the Docker Engine version you want to install.
In this tutorial, you'll install and use Docker Community Edition (CE) on Ubuntu 20.04. You'll install Docker itself, work with containers and images, and push an image to a Docker Repository.
Docker depends on the Linux kernel to operate correctly. Since it doesn't virtualize components, its host OS needs to have access to the Linux kernel and other Linux components. That means you can only use Docker to run the Linux OS and not Windows or Mac OS.
Just run : sudo apt-get install docker.io
and you're good to go.
I have managed to run docker on Ubuntu 16.10 as follows:
1.Update apt and install required certificates
$ sudo apt-get update
$ sudo apt-get install apt-transport-https ca-certificates
2. Add the GPG key to apt
$ sudo apt-key adv --keyserver hkp://ha.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D
3. Add the docker repo to the apt list
echo "deb https://apt.dockerproject.org/repo ubuntu-xenial main" | sudo tee /etc/apt/sources.list.d/docker.list
4. Update apt
sudo apt-get update
5. Check that the repo contains the docker installers
$ apt-cache policy docker-engine
docker-engine:
Installed: 1.12.2-0~trusty
Candidate: 1.12.2-0~trusty
Version table:
*** 1.12.2-0~trusty 0
500 https://apt.dockerproject.org/repo/ ubuntu-trusty/main amd64 Packages
100 /var/lib/dpkg/status
1.12.1-0~trusty 0
500 https://apt.dockerproject.org/repo/ ubuntu-trusty/main amd64 Packages
1.12.0-0~trusty 0
500 https://apt.dockerproject.org/repo/ ubuntu-trusty/main amd64 Packages
$ sudo apt-get install docker-engine
7.Start the docker daemon.
$ sudo service docker start
$ sudo docker run hello-world
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With