Runnable docker container -- what else am I missing?
Posted: Thu Aug 21, 2014 3:29 am
Hi all,
I'm working on a docker container that is aimed at end users. This means relocating any persistent state like the MySQL DB to attached storage so that it can survive container restarts. I also moved the zm.conf there, and updated ZM_PATH_CONF for the config file and ZM_PATH_WEB for images and events storage.
Is there any other state in the VM that I need to worry about persisting?
Attached is my Dockerfile, apache config, and start script. I'm basing this on Ubuntu 14.04.1. It might still have some problems, so I wouldn't call this "done" just yet. When I get it all working I'll push the container to the registry for others to use.
I'm working on a docker container that is aimed at end users. This means relocating any persistent state like the MySQL DB to attached storage so that it can survive container restarts. I also moved the zm.conf there, and updated ZM_PATH_CONF for the config file and ZM_PATH_WEB for images and events storage.
Is there any other state in the VM that I need to worry about persisting?
Attached is my Dockerfile, apache config, and start script. I'm basing this on Ubuntu 14.04.1. It might still have some problems, so I wouldn't call this "done" just yet. When I get it all working I'll push the container to the registry for others to use.