docker-zulip
docker-zulip copied to clipboard
Clean DB
Since I'm not that proficient in docker/docker-compose it would be nice to have instructions on how to reset the DB and start fresh with a clean DB, while testing.
Agreed, we should have that. You can do that by removing everything in /opt/docker
after shutting down the containers.
@timabbott Who is installing Docker in /opt/docker
? It's /var/lib/docker
on every distro I've ever seen.
I went with:
for f in $(docker image ls | awk '{print $3}');do docker image rm $f;done
But realize now that the DB is persistent under /opt/docker, will try to clean that as well.