Blame
0a3337 | MB Tech | 2025-05-25 21:06:44 | 1 | # 3-Install Portainer |
2 | ||||
3 | Install Portainer on the docker VM |
|||
5117b1 | MB Tech | 2025-05-25 21:14:06 | 4 | ``` |
5 | ## Check to see if docker is running |
|||
6 | docker ps |
|||
7 | ## Command to show Docker images |
|||
8 | docker images |
|||
9 | ## Command to create a volume and its name |
|||
10 | docker volume create portainer_data |
|||
11 | ## Docker command to run the container using the persistant volume created earlier and and to always restart |
|||
12 | 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 |
|||
13 | ## Verify Docker container is running |
|||
14 | docker ps |
|||
15 | ## Verify Source/docker IP address of Main system |
|||
16 | ip a |
|||
ecdfd3 | MB Tech | 2025-05-25 21:21:03 | 17 | |
18 | ## |
|||
19 | Go to a browser and put in the following: |
|||
20 | ||||
21 | https://<IP Address>:9443 |
|||
22 | Create password for admin account |
|||
23 | ||||
5117b1 | MB Tech | 2025-05-25 21:14:06 | 24 | ``` |
2bf100 | MB Tech | 2025-05-25 21:22:23 | 25 | ## Youtube Video |
26 | ||||
27 | <iframe width="560" height="315" src="https://www.youtube.com/embed/30nCAPoDhKQ?si=Orp1bHqm0K5JZv-z" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe> |