llkaza.blogg.se

How to install docker on mac
How to install docker on mac









how to install docker on mac

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.

how to install docker on mac

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.

  • We must also ensure that the data is encrypted while we download the packages for Docker.
  • how to install docker on mac

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

  • Now we will download all the necessary certificates that are prerequisites before installing Docker.
  • The “sudo” command ensures you to have the root access.
  • OS should be updated with the latest packages.
  • To check the same, please run the following command:Īn account on Docker Hub is also needed if you want to create your own images and thereby pushing them to Docker Hub.
  • One of the prerequisites of installing Docker is to have a Linux Kernel version of 3.8 and higher.
  • However, shall you wish to install it on other Linux distributions, we will be providing the links for the same at the end of the article. For our tutorial, we will be using the Ubuntu distribution of the Linux Operating System.











    How to install docker on mac