![]() ![]() We will configure Portainer to “manage the local Docker environment” select Local Docker environment and click on the Connect buttonįinally, you will be redirected to the Portainer dashboard, select the “local docker” Then, click on “Create User” button to create your administrator user. ![]() Next we need to set admin username and password to access portainer. Note: If you are facing any issue or unable to browse the link just use below commands firewall-cmd -permanent -zone=trusted -change-interface=docker0įirewall-cmd -permanent -zone=trusted -add-port=4243/tcp Now, open your browser, access the Portainer web interface with your server’s IP or FQDN with port 9000 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 |