Proxmox Datacenter Manager dockerized
50K+
Proxmox Datacenter Manager (PDM) in Docker: one place to watch and manage your Proxmox VE clusters and Proxmox Backup Servers, including cross-cluster migration of virtual guests.
pdm-no-subscription repository) on Debian trixie--privileged needed| Tag | Content |
|---|---|
latest | Latest published image |
<PDM version>-zNN | e.g. 1.1.10-z00 = first image with PDM 1.1.10, 1.1.10-z01 = next change of the image (fixes, Debian updates), 1.1.11-z00 = first image with PDM 1.1.11 |
Pin a -zNN tag if you want to choose when you update.
docker run -d --name pdm --hostname pdm --tmpfs /run \
-e TZ=America/Toronto -e PASSWORD='change-me' \
-p 8443:8443 \
-v ./config:/etc/proxmox-datacenter-manager \
-v ./data:/var/lib/proxmox-datacenter-manager \
-v ./logs:/var/log/proxmox-datacenter-manager \
--stop-timeout 30 \
devzwf/proxmox-datacenter-manager:latest
services:
pdm:
image: devzwf/proxmox-datacenter-manager:latest
container_name: proxmox-datacenter-manager
hostname: pdm
tmpfs:
- /run
environment:
TZ: 'America/Toronto'
PASSWORD: 'change-me' # root@pam, applied at every start
volumes:
- './config:/etc/proxmox-datacenter-manager'
- './data:/var/lib/proxmox-datacenter-manager'
- './logs:/var/log/proxmox-datacenter-manager'
ports:
- 8443:8443
stop_grace_period: 30s
restart: unless-stopped
Then open https://<host>:8443 and log in as root, realm Linux PAM.
| Variable | Description |
|---|---|
PASSWORD | Password of root@pam, applied at every start. |
PASSWORD_HASH | Same, as a crypt hash (openssl passwd -6), so the password does not show in docker inspect. Wins over PASSWORD. In a compose file, write each $ as $$. |
TZ | Timezone, e.g. America/Toronto (default UTC). |
PDM_TIMEZONE | Older name, wins over TZ when set. |
Without PASSWORD / PASSWORD_HASH the password is pdmpdm (a warning is logged): change it.
| Path | Content |
|---|---|
/etc/proxmox-datacenter-manager | Configuration: remotes, users, tokens, keys and certificate |
/var/lib/proxmox-datacenter-manager | State: statistics, job state |
/var/log/proxmox-datacenter-manager | Task logs |
Keep the same three folders and update the image: certificate (and its fingerprint), remotes, users and tokens are kept. The folder permissions PDM requires are fixed at every start. The old --cgroupns=host, /sys/fs/cgroup mount and /run/lock tmpfs are no longer needed (they do no harm).
docker pull devzwf/proxmox-datacenter-manager:latest