Installation:
sudo pacman -S docker docker-compose
Add yourself to the docker group:
sudo gpasswd -a docker
WARNING: Every user you add to the docker group is root equivalent.
NOTE: It takes a reboot for this change to take effect.
Enable and start deamon
sudo systemctl enable --now docker.service docker.socket
Common commands
Build a container
docker build -t .
docker run -d -P
OPTIONAL - Name your own docker instance name:
sudo docker run -d --n…