I am trying to create a custom app using the inductiveautomation/ignition/8.3 image and I can’t seem to get my container to start with my bind mount.
Ignition stores it’s data in /usr/local/bin/ignition/data directory so I created a volume mount that ties this container directory to a dataset in my server.
When I start the container, the logs tries to find files in that directory but cannot find them because the bind mount is empty. This is not the same behaviour of regular docker on linux or docker desktop.
It seems that for whatever reason, the binding is mounted after the ignition container starts and all the files normally in that directory from the image are replaced with the blank dataset.
Hmm, i just tried to install via yaml. The app installed fine without error, but won’t stay running, It starts for a second and then stops. I don’t know anything about ignition so i don’t know if this behaviour is expected or not. And i also see that no files get created in the mounted Dataset.
Ok, so I changed it from being a bind to a named volume. That works for me.
I tried this earlier using the IX volume in the GUI, but it deleted itself when changing the config.
Thankfully this doesn’t happen when changing the compose file.