Installing and Using Portainer

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
  • 0 brukere syntes dette svaret var til hjelp
Var dette svaret til hjelp?

Relaterte artikler

Installing Docker

Installing Docker on Your Dedicated Server Docker allows you to run applications in isolated...

Getting Started with Docker Compose

Getting Started with Docker Compose Docker Compose lets you define and run multi-container...

Managing Docker Containers

Managing Docker Containers A practical reference for day-to-day Docker container management. Run...

Using Docker Volumes for Persistent Storage

Using Docker Volumes for Persistent Storage By default, data inside a container is lost when the...

Docker Networking Explained

Docker Networking Explained Understanding Docker networking lets you connect containers together,...