Installing docker, cockpit and portainer
Install Docker
curl -fsSL get.docker.com -o get-docker.sh sh get-docker.sh
usermod -aG docker root
systemctl start docker
sudo systemctl enable docker
Install cockpit and cockpit docker plugin
yum install cockpit cockpit-docker
systemctl enable --now cockpit.socket
Install Portainer 2.x
docker volume create portainer_data
docker run -d -p 9000:9000 --name=portainer --restart=always -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer-ce
No Comments