Installing Portainer — Docker Management UI
Portainer is a browser-based Docker management interface. It lets you manage containers, images, volumes, and networks without using the command line.
Install Portainer
# Create the volume for Portainer data:
docker volume create portainer_data
# Run Portainer:
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
Allow Through Firewall
ufw allow 9443
Access Portainer
Open https://YOUR_SERVER_IP:9443 in your browser. On first visit, you will be prompted to create an admin username and password.
Key Features
- Containers: Start, stop, restart, view logs, exec into shell, view stats
- Images: Pull new images, remove unused images
- Volumes: Create and manage persistent volumes
- Networks: Create and inspect Docker networks
- Stacks: Deploy Docker Compose files via the UI (the Stacks feature)
- Environments: Connect Portainer to remote Docker hosts or Swarm clusters
Update Portainer
docker pull portainer/portainer-ce:latest
docker stop portainer && docker rm portainer
# Re-run the install command above