mirror of
https://github.com/sickcodes/Docker-OSX.git
synced 2026-04-27 08:35:48 +03:00
[GH-ISSUE #620] How to completely delete and remove data from host? #462
Labels
No labels
bug
documentation
enhancement
following upstream developments
good first issue
help wanted
invalid
pull-request
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/Docker-OSX#462
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
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).
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?
@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!