I'm running two systems with Proxmox and have set up Ubuntu 24.04 server VMs to run Docker, each with Motioneye installed via the same command. I've configured six cameras and adjusted all settings, but after rebooting the VMs, I lost everything and was met with the fresh installation screen for Motioneye on both instances. This setup was intended to replicate the issue, as I've installed Motioneye on bare metal without issues before. I'm trying to determine if this is a problem with Proxmox or Docker running within it. I did manage to get Motioneye to run in an LXC, but it was too slow, which is why I'm using a VM now. An update: it seems like the configuration wasn't saving to /etc/motioneye/motioneye.conf for some unknown reason.
2 Answers
What command are you using to run the container? Make sure you’ve set up the volumes correctly to persist data and configurations between launches. If you're using a typical command, it should include the volume settings to avoid losses.
It sounds like you haven’t configured proper volumes or mounts for your Docker setup. Without those, the configurations can get lost when the containers are recreated or the VMs are rebooted. Double-check your setup to make sure everything is mapped correctly, as that’s where your configs should be saved.
I used the docker run command straight from the official GitHub page, which I’ve had success with multiple times before.