diff options
| author | sickcodes <[email protected]> | 2021-03-21 21:11:40 +0000 |
|---|---|---|
| committer | sickcodes <[email protected]> | 2021-03-21 21:11:40 +0000 |
| commit | 37ed54da3d15ba35586f02aab901c0c604e10094 (patch) | |
| tree | f5ba903c7b6577acaad61d2fc34876f4565503b1 | |
| parent | Merge pull request #212 from panos/master (diff) | |
| download | docker-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.md | 6 | ||||
| -rw-r--r-- | README.md | 8 |
2 files changed, 10 insertions, 4 deletions
@@ -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 @@ -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" |