I realize other people have had similar questions but this uses v2 compose file format and I didn\'t find anything for that.
I want to make a very simple test a
Not sure if this helps or not. When you use docker-compose up -d
the container is downloaded and images created. To stop the docker images, use docker-compose down
, and the images will remain and can be restarted with docker-compose start
I was using the up/down commands and kept losing my data until I tried the stop/start and now data persists.