Skip to content

Docker on Linux

Install Docker Engine from the official instructions for your distribution, then check it:

docker run --rm hello-world
docker version --format '{{.Server.Version}}'

To run Docker without sudo, add your user to the docker group and log in again. All images in this collection run as an unprivileged user and work with -u "$(id -u):$(id -g)"; see run as your user.