12/17/2023 0 Comments Centos 7 docker installStatus: Downloaded newer image for portainer/portainer:latestĢ77d1cbc4823b6cb6921f3f9bf9df7b344a53e58291ab9d34e402d16917710b6 Step 3 – Check Portainer Status on Centos 7 When it is completed, you will get the following output: Output Local data Step 2 – Download Portainer Docker Image on Centos 7Īt this point, you can easily use the following single command to download and run the Portainer Docker image on Centos 7: docker run -d -p 8000:8000 -p 9000:9000 -name=portainer -restart=always -v /var/run/docker.sock:/var/run/docker.sock -v data:/data portainer/portainer Then, use the following command to verify your Docker volume creation: docker volume ls Output DRIVER VOLUME NAME Here we named it data, you can choose your desired name. To do this, you can use the following Docker command: docker volume create data In the first step, you must create a docker volume to store the Portainer data. Step 1 – Create a Docker Volume on Centos 7 When you are done with these requirements, follow the steps below to complete your Portainer installation. How To Install and Use Docker on Centos 7 To do these, you can check our Docker Tutorials to set it up: To install Portainer, you must have Docker and Docker Compose installed on your server. For this purpose, you can follow this guide on Initial Server Setup with Centos 7. First, log in to your server as a root or non-root user with sudo privileges.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |