aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsickcodes <[email protected]>2021-03-21 21:11:40 +0000
committersickcodes <[email protected]>2021-03-21 21:11:40 +0000
commit37ed54da3d15ba35586f02aab901c0c604e10094 (patch)
treef5ba903c7b6577acaad61d2fc34876f4565503b1
parentMerge pull request #212 from panos/master (diff)
downloaddocker-osx-37ed54da3d15ba35586f02aab901c0c604e10094.tar.xz
docker-osx-37ed54da3d15ba35586f02aab901c0c604e10094.zip
Update docker start commands (drop back into shell using docker start -ai <id>) and CREDITS.md
-rw-r--r--CREDITS.md6
-rw-r--r--README.md8
2 files changed, 10 insertions, 4 deletions
diff --git a/CREDITS.md b/CREDITS.md
index ae37ee1..0dcb0cf 100644
--- a/CREDITS.md
+++ b/CREDITS.md
@@ -57,3 +57,9 @@ These credits refer to the contributors to this repository:
[@MrBenFTW](https://github.com/MrBenFTW) - Tempfix for arch #150
[@edsonboldrini](https://github.com/edsonboldrini) - Update README.md #161
+
+[@TheHackerCoding](https://github.com/TheHackerCoding) - Typo in README.md #194
+
+[@panos](https://github.com/panos) - Improved README #212
+
+[@ggjulio](https://github.com/ggjulio) - Restarting an "auto" container #216
diff --git a/README.md b/README.md
index ac143ec..d96ef55 100644
--- a/README.md
+++ b/README.md
@@ -121,7 +121,7 @@ In that case, **remove** the two lines in your command:
#### I have used Docker-OSX before and wish to extract my Mac OS X image.
-Use `docker commit`, copy the ID, and then run `docker start <Replace this with your ID>`.
+Use `docker commit`, copy the ID, and then run `docker start -ai <Replace this with your ID>`.
**Alternatively:**
@@ -195,8 +195,8 @@ Containers that use `sickcodes/docker-osx:auto` can be stopped while being start
# find last container
docker ps -a
-# docker start old container with -i for interactive
-docker start -i <Replace this with your ID>
+# docker start old container with -i for interactive, -a for attach STDIN/STDOUT
+docker start -ai -i <Replace this with your ID>
```
### Quick Start Own Image (naked container image)
@@ -381,7 +381,7 @@ If you don't run this you will have a new image every time.
docker ps --all
# docker start the container ID
-docker start abc123xyz567
+docker start -ai abc123xyz567
# if you have many containers, you can try automate it with filters like this
# docker ps --all --filter "ancestor=sickcodes/docker-osx"