I’m using 1.11.1 - beta 13.1 docker on Mac.
My compose file contains this:
I can docker-compose up and use the api to persist data in the linked mongodb container. Can then stop it and up it again, and the data is still there.
However, if I restart the host OS, and then up the containers again with compose, the data is gone.
I must be missing something pretty basic, but for the love of me I can’t seem to figure out what. All articles online refer to issues with docker and volumes, but those are supposed to related to the virtualbox dependency which is now gone.