Installation
Install Docker
To install docker follow the instructions on this page.
Test Docker version
Run docker --version
and ensure that you have a supported version of Docker:
Docker version 17.12.0-ce, build c97c6d6 Run docker info
or (docker version
without --
) to view even more details about your docker installation:
To avoid permission errors (and the use of sudo), add your user to the docker group.
Test Docker installation
Test that your installation works by running the simple Docker image, hello-world:
List the hello-world image that was downloaded to your machine:
List the hello-world container (spawned by the image) which exits after displaying its message. If it were still running, you would not need the --all option:
Recap and cheat sheet
Last updated