Skip to content

Commit d048723

Browse files
authored
docs: add instructions on how to nuke docker environment
1 parent 5d180b4 commit d048723

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

docs/debugging.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,3 +157,13 @@ rm ~/.docker/config.json
157157
docker login
158158
```
159159
More discussions on the same issue https://github.com/docker/hub-feedback/issues/1250
160+
161+
## I've messed up my docker setup. How do I start from scratch?
162+
1. Delete *all* docker containers, including ones that are created outside of the quickstart guide.
163+
```
164+
docker rm -f $(docker ps -aq)
165+
```
166+
2. Clear persistent storage for DataHub containers, assuming you didn't set `DATA_STORAGE_FOLDER` environment variable.
167+
```
168+
rm -rf /tmp/datahub
169+
```

0 commit comments

Comments
 (0)