Bob, Jack and Rudy,
Hello, Got a quick question.. I have a docker container that I would like to mount a folder as a volume..... I have this backup container that I am trying to start in docker...
Proxmox tutorial -->
The container starts using this docker compose file....
version: '2.1'
services:
pbs:
image: ayufan/proxmox-backup-server:${TAG:-latest}
ports:
- 8007:8007
mem_limit: 2G
volumes:
- pbs_etc:/etc/proxmox-backup
- pbs_logs:/var/log/proxmox-backup
- pbs_lib:/var/lib/proxmox-backup
tmpfs:
- /run
cap_add: # smartctl support
- SYS_RAWIO
devices:
- /dev/sda
- /dev/sdb
restart: unless-stopped
stop_signal: SIGHUP
volumes:
pbs_etc:
pbs_logs:
pbs_lib:
But when I add the volume to this instance ... the whole stack dies.....
*******************************************
version: '2.1'
services:
pbs:
volumes:
- backups:/backups
volumes:
backups:
driver: local
driver_opts:
type: ''
o: bind
device: /srv/dev-disk-by-label-backups
********************************************
If I try to add a volume the whole stack dies:
Has anyone added this kind of direct mapping to their containers.