docker - installation

Installation:

sudo apt install docker.io docker-compose

Configuration: (ensure that $USER will be able to execute docker commands without sudo)

sudo groupadd docker
sudo usermod -aG docker $USER
newgrp docker

Re-load the terminale

test your access with this command

docker ps

Result should be:

user@joseph-vm:~$ docker ps
CONTAINER ID   IMAGE     COMMAND   CREATED   STATUS    PORTS     NAMES