to empty the volume everytime that I stop/start a container?
this is the scenario:
1. Redis container
2. Api Container
3. Api container runs some test inserting data in Redis.
4. Test are green and Api and Redis container will be stopped.
5. Restart again the container to perform again the test
- Actual situation: The container still has the data inside
- What I want: Have redis data empty
You want to empty redis everytime you restart de compose stack then?
Обсуждают сегодня