Sunday, October 18, 2020

[DevOps] Installation docker and portainer

Hello, portainer it's a web GUI for managing of docker images. Is possible work as a local docker so and as remote. 

Installation script:


sudo su
yum install -y docker
systemctl start docker
systemctl enable docker
groupadd docker
usermod -aG docker $USER
docker run hello-world

docker volume create portainer_data
docker run -d -p 8000:8000 -p 9000:9000 --name=portainer --restart=always -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer

No comments:

Post a Comment