![]() It will list the available container maintaining and running by docker, execute the following command ~]# docker psĬONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMESĨ13e79d4eaea portainer/portainer "/portainer" 23 seconds ago Up 21 seconds 0.0.0.0:9000->9000/tcp ~]# It is useful to check whether the container exist or not from the previous execution. Soon after the successful command execution above, just list the available container. So, after executing it again by changing the name or the label of the portainer, it is actually a success as follow ~]# docker run -d -p 9000:9000 -name my_portainer -restart always -v /var/run/docker.sock:/var/run/docker.sock -v /opt/portainer:/data ~]# But in the end it just the process taking it too long. The assumption is figuring that there is something wrong with the execution. Canceling it is according to an assumption. Soon after, just execute the command again but changing the name of the portanner as follows :ĭocker run -d -p 9000:9000 -name my_portainer -restart always -v /var/run/docker.sock:/var/run/docker.sock -v /opt/portainer:/data ~]# 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 ~]#Īpparently, the Ctrl+C command execution above is actually cancelling the progress for running the portainer. The following command is a command for running portainer using docker tool :ĭocker 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 executing the above command, it is running but it ends in failure. ![]() ![]() Next, after successfully downloading the portainer image, just run it. The output execution of the above command exist as follows ~]# docker pull portainer/portainerĭigest: sha256:fb45b43738646048a0a0cc74fcee2865b69efde857e710126084ee5de9be0f3f The installation of portainer exist in the following sequences :įirst of all, just pull the images of portainer by executing the following command :
0 Comments
Leave a Reply. |