docs: add instructions on how to nuke docker environment

This commit is contained in:
Mars Lan 2020-04-05 16:03:29 -07:00 committed by GitHub
parent 5d180b43f1
commit d0487239b2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -157,3 +157,13 @@ rm ~/.docker/config.json
docker login
```
More discussions on the same issue https://github.com/docker/hub-feedback/issues/1250
## I've messed up my docker setup. How do I start from scratch?
1. Delete *all* docker containers, including ones that are created outside of the quickstart guide.
```
docker rm -f $(docker ps -aq)
```
2. Clear persistent storage for DataHub containers, assuming you didn't set `DATA_STORAGE_FOLDER` environment variable.
```
rm -rf /tmp/datahub
```