Hi all,
We host some docker containers that we let customers play with to test our product. For the longest time we've had issues whenever we take a container down and bring it up again because we had the ignition volume mapped to:
volumes:
- ignition-data:/usr/local/bin/ignition/data
We had issues because we stored stuff in user-lib which is in the directory above data. So whenever we did a "docker compose down" we'd lose a bunch of stuff.
I just did a quick test of mounting our volume at:
volumes:
- ignition-data:/usr/local/bin/ignition
and all seems to work. I can take them down and bring them up and everything seems cool. Now, this goes against the general recommendations that I've read about on these forums so I'm just wondering about the implications of me changing the mount point as described above. Can anyone point out any flaws in my cunning plan?