February 27, 20233 yr So I made the mistake of not understanding the importance of mapping data outside of docker to a share when I first started, and as a result, ended up with a full docker image. So I blew it and bumped it up to 200GB, which I've been reading might be super stupid big. In fact, it is sorta super stupid big because I can't back up the image quickly. So, I'm wondering if a) I can reduce the size safely, and b) how to determine how much space I actually need so I don't hose myself by reducing the size. Ideas? Thanks!
February 27, 20233 yr 17 minutes ago, arretx said: can reduce the size safely 17 minutes ago, arretx said: how to determine how much space I actually need https://github.com/SpaceinvaderOne/Unraid_check_docker_script SpaceinvaderOne also has some YouTube videos going into this topic. Look them up Also, check container size button on docker page. It is helpful, but misses on some cases as mentioned in SIO videos Edited February 27, 20233 yr by apandey
February 27, 20233 yr 15 hours ago, arretx said: I can't back up the image quickly. If you are doing it correctly, you never NEED to back it up, because all your customization and unique files live outside the image. Creating a new image and loading your existing configs is quick and easy.
February 28, 20233 yr Author What about something like Zoneminder, which by default stores its events in the docker container itself, along with the instance of mysql that is automatically installed. These two things were the first challenge I ever faced because my 20GB docker image limit was quickly reached because of the RTSP camera feeds. I've since re-directed those feeds to the array, but not the mysql data, as I'm not sure how to do that.
February 28, 20233 yr Community Expert 15 minutes ago, arretx said: not the mysql data, as I'm not sure how to do that. docker hub seems to indicate you map to container path /var/lib/mysql https://hub.docker.com/_/mysql
February 28, 20233 yr Author Not sure how mysql integrates with the zoneminder docker container but when you install zoneminder, it seems to have its own mysql instance in it...or I have no idea what's going on.
February 28, 20233 yr 3 hours ago, arretx said: when you install zoneminder, it seems to have its own mysql instance in it...or I have no idea what's going on. Which exact zoneminder image are you using The one here seems to have mount points for config and data that you should be able to map into your appdata https://github.com/dlandon/zoneminder.machine.learning As per docs, the mysql and events data is also stored here. The unraid version of image has same mounts (but not same documentation) If you are using the unraid template provided by CA, it is already mapping to appdata Edited February 28, 20233 yr by apandey Added template screenshot
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.