mirror of
https://github.com/sickcodes/Docker-OSX.git
synced 2026-01-11 21:10:25 +01:00
Use Docker volumes (or binds) #57
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 @jlxip on GitHub (Jul 8, 2020).
For better persistence, along with using
docker start, either Docker volumes or binds should be mentioned in the README to back up the virtual hard drive, transfer it to another computer, or, even more important, allowing uncomplicated qemu configuration changes. This shouldn't be too far from adding a new-vparameter to the launch command, and will make a difference.@sickcodes commented on GitHub (Jul 8, 2020):
In the original version, I had OSX-KVM folder move to another location, and then mount voulme, move across.
mvin a Dockerfile is actually a copy to new layer, so build time was slow.I abandoned the idea because the user would have to:
Copy a large .img file from the Docker container to their disk.
OR
They would have to build the OSX-KVM themselves first.
If you have a third idea, feel free to suggest or submit a PR.
Here is the original abandoned code if you want to submit a PR:
The below code is not complete.
@sickcodes commented on GitHub (Oct 6, 2020):
I will add the ability to specify an overriding images folder similar to what I did in https://github.com/sickcodes/Docker-eyeOS
@sickcodes commented on GitHub (Feb 26, 2021):
Added https://github.com/sickcodes/Docker-OSX#quick-start-own-image