aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorname <[email protected]>2020-06-06 02:25:06 +0000
committername <[email protected]>2020-06-06 02:25:56 +0000
commitc6920a91d8aca14c78b00503788e437705b1f057 (patch)
tree973f60abb7fcf5ac583cc6b0d6e7ad4933416356
parentMerge pull request #9 from GreeFine/master (diff)
downloaddocker-osx-c6920a91d8aca14c78b00503788e437705b1f057.tar.xz
docker-osx-c6920a91d8aca14c78b00503788e437705b1f057.zip
Replaced starting old container with more simplified version
-rw-r--r--README.md19
1 files changed, 6 insertions, 13 deletions
diff --git a/README.md b/README.md
index 4fd1721..d8b7045 100644
--- a/README.md
+++ b/README.md
@@ -54,21 +54,14 @@ This is for when you want to run your system later.
If you don't run this you will have a new image every time.
```
-# look at your recent containers
-docker ps --all --filter "ancestor=docker-osx"
-docker ps --all --filter "ancestor=sickcodes/docker-osx"
+# look at your recent containers and copy the CONTAINER ID
+docker ps --all
-# boot the old ones
-docker start $(docker ps -q --all --filter "ancestor=docker-osx")
-docker start $(docker ps -q --all --filter "ancestor=sickcodes/docker-osx")
+# docker start the container ID
+docker start abc123xyz567
-# close all the ones you don't need
-
-# check which one is still running
-docker ps
-
-# write down the good one and then use that for later
-docker start xxxxxxx
+# if you have many containers, you can try automate it with filters like this
+# docker ps --all --filter "ancestor=sickcodes/docker-osx"
```