[GH-ISSUE #620] How to completely delete and remove data from host? #462

Open
opened 2026-02-27 23:00:40 +03:00 by kerem · 2 comments
Owner

Originally created by @timvisee on GitHub (Jan 23, 2023).
Original GitHub issue: https://github.com/sickcodes/Docker-OSX/issues/620

I've installed and ran this using this command successfully.

What steps to I need to take to remove everything from the host system, does running this leave a system image/drive somewhere?

I've run:

  • docker rmi sickcodes/docker-osx:*

Are there other steps I need to take?

Originally created by @timvisee on GitHub (Jan 23, 2023). Original GitHub issue: https://github.com/sickcodes/Docker-OSX/issues/620 I've installed and ran this using [this](https://github.com/sickcodes/Docker-OSX#ventura-) command successfully. What steps to I need to take to remove everything from the host system, does running this leave a system image/drive somewhere? I've run: - `docker rmi sickcodes/docker-osx:*` Are there other steps I need to take?
Author
Owner

@sickcodes commented on GitHub (Jan 23, 2023):

sudo rm -rf /var/lib/docker/ will nuke all your images

You can use docker inspect so see all the other files.

Anything worth nuking would end in .img

So find /var/lib/docker | grep img and remove all/some of those as appropriate

<!-- gh-comment-id:1400763929 --> @sickcodes commented on GitHub (Jan 23, 2023): `sudo rm -rf /var/lib/docker/` will nuke all your images You can use `docker inspect` so see all the other files. Anything worth nuking would end in `.img` So `find /var/lib/docker | grep img` and remove all/some of those as appropriate
Author
Owner

@timvisee commented on GitHub (Jan 25, 2023):

So that means running a VM won't clutter the host with other files, other than images, right?

Fantastic!

<!-- gh-comment-id:1404008939 --> @timvisee commented on GitHub (Jan 25, 2023): So that means running a VM won't clutter the host with other files, other than images, right? Fantastic!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Docker-OSX#462
No description provided.