The blog about containerisation, virtual machines and useful shell snippets and findings

Centos 7 docker install

yum install -y yum-utils
yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
yum install docker-ce.x86_64
systemctl start docker
systemctl enable docker

in case you do this under unprivileged used don’t forget to add permission to the docker.sock

sudo groupadd docker
 sudo usermod -aG docker $USER