-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docker-compose down command as written in the readme does not remove volumes #14
Comments
Hi @joaocaldeira , Could you please explain why it is bad? In general we don't delete volumes specially. Usually we "down" a container if it is necessary to update the tool or maintain its host. I would say in general case users want to have data on the next time docker-compose up is run. What is your use case? |
More directly, my point was that listing
To answer your question: my use case here was that I added some videos to the tool for testing when I first installed it, and then wanted to clear all data and restart cvat before adding the videos I actually want annotated. |
I see. We will update README.md file. We got the line directly from documentation and it describes the command with all options. In our case we probably need to write "The command below will stop and remove containers and networks created by up". The sentence isn't precise (external network isn't removed) but I believe it is sufficient for the case. Will it work? |
Yes, that sounds good. Thanks! |
The option -v needs to be added. If that is not done, the data will still be there the next time docker-compose up is run.
The text was updated successfully, but these errors were encountered: