![]() ![]() Run the Portainer container with the following command: docker run -d -p 9000:9000 -name your_portainer_name -restart always -v /var/run/docker.sock:/var/run/docker.sock -v /opt/portainer:/data portainer/portainerĪfter installing the Portainer container, run the docker ps command to verify the status of the container: docker ps Install Portainer on CentOS 8 / RHEL 8 for Docker Managementĭownload the Portainer image from the DockerHub using the docker pull command below. ![]() To verify that docker ce engine has been setup correctly, run below docker command, docker run hello-worldĭocker has been installed successfully and running fine, now we will install and configure portainer so that we can manage docker from web interface. dnf install docker-ce -nobest -yĪfter the installation, start and enable docker service using the following systemctl commands systemctl start docker ![]() Now, use below dnf command to install latest version of docker. Step 2 Install Docker CE using dnf command Currently docker packages are not available on CentOS and RHEL 8 repositories, so run following dnf command to enable Docker CE repository. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |