Hi gang, my apologies this is my last resort coming to this forum for help but I've attempted in all 3 of the ones mentioned in the title and, although I've made progress, none have been able to solve this issue.
So the crux of this is, I have A docker CT (unpriv) running Frigate, on Proxmox 8.3. I went into the CTs conf and added the mount to a zfs directory I have. Then in Docker I referenced the mount to map to the directory frigate is expecting. Instead of writing its recordings to the mount, it uses the same resolved path, but keeps it on the local CT (also the same ZFS pool but a different folder).
To be more specific, I have /mnt/frigate which points to /atlas/step/frigate. When it adds the recordings it adds it to /subdisk-101-xxxx/atlas/step/frigate. (the local file folder for the CT instead of the mounted path)
Going into the CT console I can type 'cd /mnt/frigate' and then I am in the correct spot of /atlas/step/frigate. I also can write a nano file and it writes to the right spot. So it seems the CT is mounted correctly as I can see the data and write to the data in the right spot. On the frigate docker side, its definitely interpreting my mount path because it is changing /mnt/frigate to something else, but not going to the actual mounted folder and keeping it local.
If not obvious I am almost a few months into proxmox and frigate so I am probably just missing something dumb and not sure how to fix this one. Any help is greatly appreciated
Proxmox conf (I believe working based on writing above)
Findmt command in CT finds the mount
Frigate compose file - just mapping the media folder to the mnt folder, should be that easy I think?
volumes:
- /etc/localtime:/etc/localtime:ro
- ./config:/config
- /mnt/frigate:/media/frigate
So the crux of this is, I have A docker CT (unpriv) running Frigate, on Proxmox 8.3. I went into the CTs conf and added the mount to a zfs directory I have. Then in Docker I referenced the mount to map to the directory frigate is expecting. Instead of writing its recordings to the mount, it uses the same resolved path, but keeps it on the local CT (also the same ZFS pool but a different folder).
To be more specific, I have /mnt/frigate which points to /atlas/step/frigate. When it adds the recordings it adds it to /subdisk-101-xxxx/atlas/step/frigate. (the local file folder for the CT instead of the mounted path)
Going into the CT console I can type 'cd /mnt/frigate' and then I am in the correct spot of /atlas/step/frigate. I also can write a nano file and it writes to the right spot. So it seems the CT is mounted correctly as I can see the data and write to the data in the right spot. On the frigate docker side, its definitely interpreting my mount path because it is changing /mnt/frigate to something else, but not going to the actual mounted folder and keeping it local.
If not obvious I am almost a few months into proxmox and frigate so I am probably just missing something dumb and not sure how to fix this one. Any help is greatly appreciated
Proxmox conf (I believe working based on writing above)
Code:
arch: amd64
cores: 3
features: keyctl=1,nesting=1
hostname: dockge-frigate
memory: 2048
mp0: /atlas/step/frigate,mp=/mnt/frigate
net0: name=eth0,bridge=vmbr0,gw=192.168.x.x,hwaddr=,ip=192.168.x.x/24,type=veth
onboot: 1
ostype: debian
rootfs: atlas:subvol-103-disk-0,size=28G
swap: 1024
tags: community-script;docker
unprivileged: 1
lxc.cgroup2.devices.allow: c 226:0 rwm
lxc.cgroup2.devices.allow: c 226:128 rwm
lxc.cgroup2.devices.allow: c 29:0 rwm
lxc.cgroup2.devices.allow: c 189:* rwm
lxc.apparmor.profile: unconfined
lxc.cgroup2.devices.allow: a
lxc.mount.entry: /dev/bus/usb/002 dev/bus/usb/002 none bind,optional,create=dir 0, 0
lxc.cap.drop:
lxc.mount.auto: cgroup:rw
lxc.mount.entry: /dev/dri/renderD128 dev/dri/renderD128 none bind,optional,create=file
lxc.mount.entry: /atlas/step/frigate mnt/frigate none rbind,create=dir 0 0
lxc.idmap: u 0 100000 65536
lxc.idmap: g 0 100000 106
lxc.idmap: g 107 100107 65429
Findmt command in CT finds the mount

Frigate compose file - just mapping the media folder to the mnt folder, should be that easy I think?
volumes:
- /etc/localtime:/etc/localtime:ro
- ./config:/config
- /mnt/frigate:/media/frigate