I'm looking into running a QDevice for my proxmox cluster within docker on my Synology nas. I've never used docker before so this is still new to me. I've downloaded a few "images' from the registry but while I can get at least one of them to build and run I can't seem to connect to it. I'm wondering if anyone here has experience running a qdevice in docker and may be able to point me in the right direction.
I've had the most success running this image: https://hub.docker.com/r/bcleonard/proxmox-qdevice/
This is the YAML config I've been using.
I can ping the 2222 port but I can't connect to it using ssh. No data is being written in the corosync-data folder either so while the container is running I don't think it's doing anything. Any help would be greatly appreciated.
I've had the most success running this image: https://hub.docker.com/r/bcleonard/proxmox-qdevice/
This is the YAML config I've been using.
YAML:
version: "3.5"
services:
qdevice:
container_name: qdevice
image: 'bcleonard/proxmox-qdevice'
build:
context: ./context
dockerfile: ./Dockerfile
hostname: qdevice
restart: unless-stopped
volumes:
- /volume1/docker/qdevice/qnetd/corosync-data:/etc/corosync
- /sys/fs/cgroup:/sys/fs/cgroup:ro
ports:
- '2222:22'
- '5403-5412:5403-5412/udp'
networks:
- qdevice-net
environment:
- NEW_ROOT_PASSWORD=Password1
networks:
qdevice-net:
name: qdevice-net
driver: bridge
I can ping the 2222 port but I can't connect to it using ssh. No data is being written in the corosync-data folder either so while the container is running I don't think it's doing anything. Any help would be greatly appreciated.