[GH-ISSUE #645] How uninstall the vm? #484

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

Originally created by @DenisLevy76 on GitHub (Mar 17, 2023).
Original GitHub issue: https://github.com/sickcodes/Docker-OSX/issues/645

I need to free up space on my SSD, how do I delete the vm? I'm using windows

Originally created by @DenisLevy76 on GitHub (Mar 17, 2023). Original GitHub issue: https://github.com/sickcodes/Docker-OSX/issues/645 I need to free up space on my SSD, how do I delete the vm? I'm using windows
Author
Owner

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

just load up docker desktop, select images and delete the sickcode image, you can also move the vm to another drive with

wsl --shutdown
wsl --export docker-desktop-data C:\data.tar
wsl --unregister docker-desktop-data
wsl --import docker-desktop-data 'D:\Virtual Machines\Docker\\' 'c:\data.tar' --version 2

you can delete the tar file or keep it as a backup; or compress your vm with

Optimize-VHD -Path "c:\location to vm\ext4.vhdx" -Mode Full
<!-- gh-comment-id:1536863288 --> @PTAHume commented on GitHub (May 5, 2023): just load up docker desktop, select images and delete the sickcode image, you can also move the vm to another drive with ``` wsl --shutdown wsl --export docker-desktop-data C:\data.tar wsl --unregister docker-desktop-data wsl --import docker-desktop-data 'D:\Virtual Machines\Docker\\' 'c:\data.tar' --version 2 ``` you can delete the tar file or keep it as a backup; or compress your vm with ``` Optimize-VHD -Path "c:\location to vm\ext4.vhdx" -Mode Full ```
Author
Owner

@DenisLevy76 commented on GitHub (May 10, 2023):

Thank you!

<!-- gh-comment-id:1542461868 --> @DenisLevy76 commented on GitHub (May 10, 2023): Thank you!
Author
Owner

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

np glad was able to help :)

<!-- gh-comment-id:1542467595 --> @PTAHume commented on GitHub (May 10, 2023): np glad was able to help :)
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#484
No description provided.