Marketplace
Developer Tools

Portainer

Web UI for managing Docker containers, images and volumes.

Deploy this app

About

Installs Docker, then runs Portainer Community Edition as a container with access to the Docker socket, exposing its web UI on port 9443.

Open https://<floating-ip>:9443 and create your admin account within 5 minutes of first boot, or the setup endpoint locks itself for security.

Ports opened by the installer

9443/tcp · Portainer web UI (HTTPS)

Install script (runs as cloud-init user-data on first boot)

#!/bin/bash
set -e
apt-get update -y
apt-get install -y ca-certificates curl gnupg
install -m 0755 -d /etc/apt/keyrings
curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc
chmod a+r /etc/apt/keyrings/docker.asc
. /etc/os-release
echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/ubuntu $VERSION_CODENAME stable" > /etc/apt/sources.list.d/docker.list
apt-get update -y
apt-get install -y docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
systemctl enable --now docker
docker volume create portainer_data
docker run -d -p 9443:9443 --name portainer --restart=always -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer-ce:latest