Welcome to Docker’s documentation!¶
Docker is a containerization software that allows to encapsulate applications. In other words, it offers a system to create images and to run them in an isolated environment. It uses a client-server architecture.
Containers share OS and some libraries and/or with the host, unlike virtual machines that hold their own OS.
Contents:
Examples:
Others:
To install docker in a Debian-based system:
sudo apt install docker.io
Docker runs as a root daemon, that why it is so insecure. To enable a user to execute docker commands without being root do:
sudo groupadd docker
sudo usermod -aG docker $USER
newgrp docker
# verify
docker run hello-world