Clean Docker-OSX installation #474

Open
opened 2025-12-29 01:19:36 +01:00 by adam · 3 comments
Owner

Originally created by @marcoriesco on GitHub (Feb 7, 2023).

Installed and ran perfect, used only for testing. Now I'm not finding the QEMU image, it's taking up too much space, where can I find it to remove?

  • I've already deleted the images and the docker container and it's still allocating a lot of space
Originally created by @marcoriesco on GitHub (Feb 7, 2023). Installed and ran perfect, used only for testing. Now I'm not finding the QEMU image, it's taking up too much space, where can I find it to remove? * I've already deleted the images and the docker container and it's still allocating a lot of space
Author
Owner

@DenisLevy76 commented on GitHub (Mar 23, 2023):

I want to know too. Did you manage to find the solution?

@DenisLevy76 commented on GitHub (Mar 23, 2023): I want to know too. Did you manage to find the solution?
Author
Owner

@nnzv commented on GitHub (Apr 7, 2023):

Installed and ran perfect, used only for testing. Now I'm not finding the QEMU image, it's taking up too much space, where can I find it to remove?

  • I've already deleted the images and the docker container and it's still allocating a lot of space

That's an odd situation. For me, using docker rm -f was like magic, it worked perfectly. Consider running the below command to delete any unwanted docker junk:

% docker system prune -a
@nnzv commented on GitHub (Apr 7, 2023): > Installed and ran perfect, used only for testing. Now I'm not finding the QEMU image, it's taking up too much space, where can I find it to remove? > > * I've already deleted the images and the docker container and it's still allocating a lot of space That's an odd situation. For me, using `docker rm -f` was like magic, it worked perfectly. Consider running the below command to delete any unwanted docker junk: ```bash % docker system prune -a ```
Author
Owner

@PTAHume commented on GitHub (May 6, 2023):

you can also use this command to optimise the vhdx file size with

Optimize-VHD -Path "C:\Users\YOURNAME\AppData\Local\Docker\wsl\data\ext4.vhdx" -Mode Full
@PTAHume commented on GitHub (May 6, 2023): you can also use this command to optimise the vhdx file size with ``` Optimize-VHD -Path "C:\Users\YOURNAME\AppData\Local\Docker\wsl\data\ext4.vhdx" -Mode Full ```
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/Docker-OSX#474