title: How to remove anonymous volumes on exit with docker-compose
body: <p>I have a docker-compose file I use to run integration tests. It's set to <code>--exit-code-from</code> the test service, so when the tests are done all the containers are stopped. There's a database service involved in the test. It creates an anonymous volume. Since these are tests, I don't want to keep the database around between runs. If I was using <code>docker-compose down</code>, I might be able to use <code>-v</code> (the doc says it removes named volumes; maybe it works for anonymous volumes too?). So my question is, how do I tell <code>docker-compose up</code> to delete anonymous volumes on exit?</p>