aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorname <[email protected]>2020-06-04 21:10:05 +0000
committername <[email protected]>2020-06-04 21:10:05 +0000
commit7526a5848aa1150ac4cbf3daf89f85054f4d3fa5 (patch)
treeac5d213af3357b21684711a3c3e4c2a0f2055da5
parentAdditional boot instructions (diff)
downloaddocker-osx-7526a5848aa1150ac4cbf3daf89f85054f4d3fa5.tar.xz
docker-osx-7526a5848aa1150ac4cbf3daf89f85054f4d3fa5.zip
Boot old container
-rw-r--r--README.md21
1 files changed, 21 insertions, 0 deletions
diff --git a/README.md b/README.md
index cca0cca..c8dba59 100644
--- a/README.md
+++ b/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.