mirror of
https://github.com/sickcodes/Docker-OSX.git
synced 2024-12-21 21:41:31 -06:00
Boot old container
This commit is contained in:
parent
333aeefd4f
commit
7526a5848a
21
README.md
21
README.md
@ -17,6 +17,17 @@ docker build -t docker-osx .
|
||||
|
||||
docker run --privileged -v /tmp/.X11-unix:/tmp/.X11-unix docker-osx
|
||||
|
||||
# press ctrl G if your mouse gets stuck
|
||||
|
||||
```
|
||||
|
||||
# Start the same container later (persistent disk)
|
||||
```
|
||||
# look at it
|
||||
docker ps --all --filter "ancestor=docker-osx"
|
||||
|
||||
# boot my old one
|
||||
docker start $(docker ps -q --all --filter "ancestor=docker-osx")
|
||||
```
|
||||
|
||||
# Additional Boot Instructions
|
||||
@ -36,6 +47,16 @@ docker run --privileged -v /tmp/.X11-unix:/tmp/.X11-unix docker-osx
|
||||
```
|
||||
|
||||
|
||||
# Wipe old images
|
||||
|
||||
```
|
||||
# WARNING deletes all old images, but saves disk space if you make too many containers
|
||||
docker system prune --all
|
||||
docker image prune --all
|
||||
|
||||
```
|
||||
|
||||
|
||||
# Instant OSX-KVM in a BOX!
|
||||
This Dockerfile automates the installation of OSX-KVM inside a docker container.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user