Commit 5117b1

2025-05-25 21:14:06 MB Tech: -/-
a starting point/3-install portainer.md ..
@@ 1,3 1,17 @@
# 3-Install Portainer
Install Portainer on the docker VM
+ ```
+ ## Check to see if docker is running
+ docker ps
+ ## Command to show Docker images
+ docker images
+ ## Command to create a volume and its name
+ docker volume create portainer_data
+ ## Docker command to run the container using the persistant volume created earlier and and to always restart
+ docker run -d -p 8000:8000 -p 9443:9443 --name portainer --restart=always -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer-ce:latest
+ ## Verify Docker container is running
+ docker ps
+ ## Verify Source/docker IP address of Main system
+ ip a
+ ```
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9