mirror of
https://github.com/sickcodes/Docker-OSX.git
synced 2026-01-11 21:10:25 +01:00
How to completely delete and remove data from host? #460
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @timvisee on GitHub (Jan 23, 2023).
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?
@sickcodes commented on GitHub (Jan 23, 2023):
sudo rm -rf /var/lib/docker/will nuke all your imagesYou can use
docker inspectso see all the other files.Anything worth nuking would end in
.imgSo
find /var/lib/docker | grep imgand remove all/some of those as appropriate@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!