portainer

Created: 2025-04-09 18:55:31 | Last updated: 2025-04-09 18:55:31 | Status: Public

Portainer is installed as a Docker container in your system. When we ran the Docker command:

sudo 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

This downloaded the Portainer container image from Docker Hub and created a running container instance named “portainer” on your system.

The container’s data is stored in two locations:
1. The Docker socket at /var/run/docker.sock is mounted into the container (allowing Portainer to communicate with your Docker daemon)
2. The persistent data is stored in the Docker volume we created called portainer_data (which maps to /data inside the container)

Physically, the Docker images and containers (including Portainer) are stored in Docker’s data directory, which by default is /var/lib/docker on your host system. The Portainer web interface is accessible through your browser at https://your-server-ip:9443.

If you want to move Docker’s storage to your 128GB data SSD later, we can configure that as well.