You've already forked Docker-OSX
mirror of
https://github.com/sickcodes/Docker-OSX.git
synced 2025-07-02 02:42:37 -05:00
Add --output-env <filename> && --output-bootdisk <filename>
This commit is contained in:
25
README.md
25
README.md
@ -499,30 +499,7 @@ sudo mv somedir/mac_hdd_ng.img .
|
||||
|
||||
# Use an Old Docker-OSX Disk in a Fresh Container (Replication)
|
||||
|
||||
You do not have to reinstall everything, you can simply:
|
||||
|
||||
- start a new container
|
||||
|
||||
- overwrite the .img in the new container with your big old one
|
||||
|
||||
```bash
|
||||
|
||||
# start a new docker-osx container
|
||||
# you can start with ssh, without, or vnc, because they are all interchangable.
|
||||
|
||||
# get the NEW container id
|
||||
docker ps
|
||||
|
||||
# docker cp your OLD disk into the NEW container
|
||||
docker cp ./mac_hdd_ng.img newcontainerid:/home/arch/OSX-KVM/mac_hdd_ng.img
|
||||
|
||||
# kill the NEW container
|
||||
docker kill newcontainerid
|
||||
|
||||
# start the NEW container and it just works
|
||||
docker start newcontainerid
|
||||
|
||||
```
|
||||
[Use the sickcodes/docker-osx:naked image.](https://github.com/sickcodes/Docker-OSX/tree/custom-identity#quick-start-own-image)
|
||||
|
||||
# DESTROY: Wipe old images to free disk space
|
||||
|
||||
|
Reference in New Issue
Block a user