

Sudo apt-get update & sudo apt-get install docker-ce -y Finally, it is the time to install Docker, and it can be done with the help of the following command.Sudo apt-get install Linux-image-extra-$(uname -r) Linux-image-extra-virtual It can be done by using the following command: This driver is used by the newer versions of Docker. Also, for Ubuntu Trusty, Wily, and Xenial, we have to install the Linux-image-extra-* kernel packages, which allows one to use the aufs storage driver. Please check if the package manager is pointing to the right repository.Ĩ.Now we will execute the apt-get update command to update the packages on the Ubuntu system as we had done previously.Let’s try for our version, which is Ubuntu trusty main,Įcho "deb ubuntu-trusty main” | sudo tee /etc/apt//docker.list Now you might be having different Ubuntu versions in that case, you are required to register your version on the Docker list so that the apt package manager is able to detect the Docker packages and it gets downloaded.As a result, it’s more friendly to firewalls and companies.

The pool hkp:// is a subset of servers that are also available on port 80. This key is specific which is used to download the necessary Docker Packages. This can be done by adding the GNU Privacy Guard key or GPG key.

Sudo apt-get install apt-transport-https ca-certificates
