Installation of Docker
Depending on the part of the system you want to install, you'll need the Docker run-time to be available. This page aims to get you started with the installation of Docker.
MacOS
Download Docker from docker.com and follow the instructions.
Windows
Download Docker from docker.com and follow the instructions.
Ubuntu
Follow the instructions from docker.com.
Debian
Unfortunately Docker is not available in Debian 9 (stretch) by default, so we'll have to add a package repository to apt. We'll start by installing sudo as this is needed later on. Don't forget to replace <username> with the username you're using.
apt install sudo
addgroup <username> sudoAfter installing sudo you'll need to logout and login again for group membership to take effect. When this is done, we can proceed to install Docker. This has been automated by a shell-script from docker.com.
sudo apt install curl
curl -sSL https://get.docker.com/ | sh
addgroup $(whoami) dockerAfter installing the docker command you'll need to logout and login again for group membership to take effect. Then you can test your installation with the following command:
Last updated
Was this helpful?