---
title: "Arcane Docker manager: install it on a VPS and lock it down · CloudSat"
description: "Install the Arcane Docker manager on a Linux server with Compose, put it behind HTTPS, restrict its socket access and see where it fits next to Portainer."
url: https://cloudsat.io/learn/arcane-docker-manager-setup
updated: 2026-11-18T12:00:00Z
source: CloudSat (https://cloudsat.io/). Prices in USD.
---

[DevOps](https://cloudsat.io/learn/topic/devops-and-automation)

# Arcane Docker manager: install it on a VPS and lock it down

Install the Arcane Docker manager on a Linux server with Compose, put it behind HTTPS, restrict its socket access and see where it fits next to Portainer.

CloudSat team November 18, 2026 6 min read

Arcane is a web interface for Docker and one of the newer alternatives to the older dashboards. It is licensed under BSD-3-Clause, built with a Go backend and a SvelteKit front end, and its current major version is 3. Like every Docker UI, it is also a remote control for root on your server, so installing it well matters more than installing it fast. This guide does both.

## What Arcane manages

Arcane talks to the Docker API and presents the usual objects, plus a few workflow features that used to require separate tools:

- **Containers, images, volumes and networks**, with logs, stats and a shell into running containers.
- **Projects**, which are Compose stacks stored in a directory on the host, editable from the browser.
- **Git Sync**, which keeps a project in step with a Git repository, with lifecycle hooks around deployments.
- **Templates** and template registries for common applications.
- **Auto updates** for images, and **vulnerability scans** of what you run.
- **Remote agents** to manage other Docker hosts from one interface, secured with mutual TLS, plus Docker Swarm and Podman support.
- **Users and access**: OIDC single sign-on, passkeys and MFA, and roles with permissions.

## Arcane, Portainer CE or Dockge?

The three are often compared, and they target different needs.

|  | Arcane | Portainer CE | Dockge |
| --- | --- | --- | --- |
| License | BSD-3-Clause | zlib | MIT |
| Focus | Docker hosts and Compose projects, with GitOps and scanning built in | Broad container management, including Kubernetes | Compose stacks only, deliberately minimal |
| Multi-host | Agents with mTLS | Agents and Edge agents | Agents |
| Good fit | A small fleet of Docker servers managed by a team | Mixed Docker and Kubernetes environments | One server, a handful of stacks |

Portainer's paid Business Edition adds features on top of CE, so compare against the edition you would actually run. If you manage Kubernetes clusters, Arcane is not the tool: it covers Docker, Swarm and Podman hosts.

## Install Arcane with Docker Compose

You need Docker Engine and the Compose plugin; the [Docker Engine install guide](https://cloudsat.io/learn/install-docker-engine-on-ubuntu-and-debian) covers that. Arcane encrypts stored secrets with a key you generate once and keep safe:

```bash
sudo mkdir -p /opt/arcane /opt/docker
cd /opt/arcane
echo "ARCANE_ENCRYPTION_KEY=$(openssl rand -hex 32)" | sudo tee .env > /dev/null
sudo chmod 600 .env
```

Then create `/opt/arcane/compose.yaml`. It follows the project's official file with one change: the port is bound to `127.0.0.1`, so the UI is only reachable through the reverse proxy you add next.

```yaml
services:
  arcane:
    image: ghcr.io/getarcaneapp/manager:latest
    container_name: arcane
    ports:

      - "127.0.0.1:3552:3552"

    volumes:

      - /var/run/docker.sock:/var/run/docker.sock
      - arcane-data:/app/data
      - /opt/docker:/opt/docker

    environment:

      - ARCANE_APP_URL=https://arcane.example.com
      - ARCANE_ENCRYPTION_KEY=${ARCANE_ENCRYPTION_KEY}
      - ARCANE_PROJECTS_DIRECTORY=/opt/docker
      - PUID=1000
      - PGID=1000

    cgroup: host
    restart: unless-stopped

volumes:
  arcane-data:
```

Start it and collect the first password. Arcane creates the `arcane` user and writes a generated password to a file inside its data volume:

```bash
sudo docker compose up -d
sudo docker compose cp arcane:/app/data/initial-admin-password .
sudo cat initial-admin-password && sudo rm initial-admin-password
```

You will be asked to set a new password at the first sign-in. Do not lose the encryption key in `.env`: without it, the secrets Arcane stored cannot be decrypted.

## Put it behind HTTPS

Caddy is the shortest path to a valid certificate. Point a DNS record such as `arcane.example.com` at the server, open ports 80 and 443, then:

```bash
sudo apt install caddy
sudo tee /etc/caddy/Caddyfile <<'EOF'
arcane.example.com {
    reverse_proxy 127.0.0.1:3552
}
EOF
sudo systemctl reload caddy
```

Caddy requests the certificate on its own and proxies WebSocket connections without extra settings, which browser-based terminals and log streams usually rely on. Keep `ARCANE_APP_URL` equal to the address you type in the browser, so links and redirects line up.

## Limit what it can touch

### The socket is root

Mounting `/var/run/docker.sock` gives the container full control of Docker, and Docker can start a privileged container that mounts the host's root filesystem. Arcane's own documentation states it plainly: anyone who can create containers can effectively reach host root. Treat the Arcane login like an SSH key with sudo.

### Add a socket proxy

Arcane documents running behind a Docker socket proxy, which passes only the API calls on an allowlist. Arcane then connects to `tcp://docker-socket-proxy:2375` through `DOCKER_HOST` instead of mounting the socket itself, and the proxy keeps the socket mounted read-only on its side. Two details from that guide are easy to miss. First, mounting the socket with `:ro` does not make the API read-only: allowed POST and DELETE calls still change Docker. Second, Arcane needs write calls to create containers, pull images and run `exec`, so the proxy reduces the attack surface rather than removing it. Use the allowlist from the official Socket Proxy page instead of writing your own, because it is maintained alongside Arcane's features.

### Accounts and network exposure

- Change the initial password, then enable passkeys or MFA for every account.
- With more than two or three users, connect OIDC so access follows your identity provider and leaves with the person.
- Expose only ports 80 and 443. A firewall in front of the server, such as the [cloud firewall](https://cloudsat.io/docs/cloud-firewalls) in the CloudSat console, is the simplest way to block everything else, including ports Docker publishes past UFW.
- Consider restricting the site to your office or VPN addresses in Caddy with a `remote_ip` matcher, if your team works from fixed addresses.

## Manage more servers with agents

To manage several hosts, run Arcane's agent on each additional server instead of exposing their Docker sockets over TCP. Agents connect back with mutual TLS, so each host only trusts the Arcane instance it was paired with. Keep one Arcane instance as the control point and put the agents on the servers that run workloads.

## Updates and backups

- **Pin a version.** The `latest` tag moves with every release; pin a release tag from the project's GitHub releases page and upgrade on purpose. Read the migration notes before jumping a major version, as the 3.0 migration guide shows breaking changes happen.
- **Back up the data volume.** Users, settings and stored credentials live in `arcane-data`. A nightly copy plus the `.env` file is enough to rebuild the instance.
- **Keep project files in Git.** Compose files under `/opt/docker` are the real state of your applications. Git Sync, or a plain repository, means a lost server is a redeploy rather than a reconstruction.

## FAQ

### Will Arcane see containers I started without it?

Yes. Arcane reads the Docker API, so every container on the host appears in the container list. To edit a stack as a project, move its Compose file into the projects directory, here `/opt/docker`.

### Is it safe to expose Arcane to the internet?

It can be done with HTTPS, strong authentication and MFA, but every exposed Docker UI is a high-value target. A VPN or an IP allowlist in front of it removes most of the risk for very little effort.

### Does Arcane replace Portainer?

For Docker and Compose workloads on a handful of servers, it covers the common tasks and adds GitOps and scanning. For Kubernetes, or if your team relies on Business Edition features, Portainer remains the better match.

### Is there a faster way to try it?

Arcane is in the CloudSat [one-click app catalog](https://cloudsat.io/apps/deploy-arcane), which deploys a server with it preinstalled. Apply the hardening steps above before you put real workloads on it.

**Run it on CloudSat.** Cloud VPS on AMD EPYC and NVMe from $1.98/mo in 13 regions, delivered in under 5 minutes and paid in crypto. [See plans](https://cloudsat.io/plans) or [deploy a server](https://dash.cloudsat.io/console/deploy).

## Keep reading

[All guides in DevOps](https://cloudsat.io/learn/topic/devops-and-automation)

- [Install Docker Engine on Ubuntu or Debian, the official way](https://cloudsat.io/learn/install-docker-engine-on-ubuntu-and-debian): DevOps Install Docker Engine on Ubuntu or Debian, the official way 7 min read
- [GitOps for Docker Compose: deploy on push without Kubernetes](https://cloudsat.io/learn/gitops-for-docker-compose): DevOps GitOps for Docker Compose: deploy on push without Kubernetes 6 min read
- [Docker Compose logs: read, filter and keep them in check](https://cloudsat.io/learn/read-and-rotate-docker-compose-logs): DevOps Docker Compose logs: read, filter and keep them in check 6 min read
- [List Docker containers with docker ps: filters and formats](https://cloudsat.io/learn/docker-ps-list-filter-and-format-containers): DevOps List Docker containers with docker ps: filters and formats 8 min read
