![]() ![]() With this command Docker pulls latest image from repository and creates portainer.io service listening port 9000 with restart policy that starts container if state is any other than runningÄocker run -d -restart unless-stopped -p 9000:9000 -v /var/run/docker.sock:/var/run/docker. STEP 6- Create docker volume for portainer.io data If you have Docker already installed and you want to upgrade it to specific version, follow below steps: sudo yum list docker-ce -showduplicates sort -r yum install docker-ce- systemctl start docker.STEP 5- Docker start automatically on reboots ![]() STEP 3- If you want to use docker with non-root user, add your user to âdockerâ group 2.0 kB 00:00:00 Resolving Dependencies -> Running transaction check -> Package docker-ce.x8664 3:19.03.12-3.el7 will be installed -> Processing Dependency: container-selinux > 2:2.74 for package: 3:docker-ce-> Processing Dependency: containerd.io > 1.2. STEP 2- Download script from and run it.Ĭurl -fsSL -o get-docker.sh STEP 1- we update list of all package updates from repositories. How to install and setup container with Docker and Portainer.io UI on CentOS 7.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |