Docker
Quick docker installation reference.
This is a quick reference to the docker installation steps to take, but you can always check the full installation guide on the official docker website.
Set up the repository
Older versions of Docker were called
docker
,docker.io
, ordocker-engine
. If these are installed, uninstall them:Update the
apt
package index and install packages to allowapt
to use a repository over HTTPS:Add Docker’s official GPG key:
Use the following command to set up the stable repository
Install Docker Engine
Update the
apt
package index, and install the latest version of Docker Engine and containerd:Verify that Docker Engine is installed correctly by running the
hello-world
image.Add User to Docker Group
you can replace $USER with the name of the user account
Last updated