Docker-OSX icon indicating copy to clipboard operation
Docker-OSX copied to clipboard

How can I relocate my installed VM ?

Open Subhankar2000 opened this issue 4 years ago • 3 comments

I have a less space in my root file-system, I want to move my installation of the VM, how can I do it ?

Subhankar2000 avatar Jan 02 '22 12:01 Subhankar2000

I have observed that I cannot move things once installed, so it will be better to make a separate partition, move things there at first, create an automatic mount point at /mnt and use this guide to change the default location, Change Docker root directory /var/lib/docker to another location and then start using Docker-OSX. I am now able to use this on a separate partition on a separate drive even though my root partition is just 64 GB. I found this can be an issue for many people who accidentally have their root partition small and still want to try this, so I reported it and now that I have found the solution, I am closing this with my comment. Thank You

Subhankar2000 avatar Jan 02 '22 18:01 Subhankar2000

If there is anyother way, please suggest.

Subhankar2000 avatar Jan 03 '22 04:01 Subhankar2000

This should help: https://github.com/sickcodes/Docker-OSX#container-creation-examples

sickcodes avatar Jan 13 '22 08:01 sickcodes