From 37ed54da3d15ba35586f02aab901c0c604e10094 Mon Sep 17 00:00:00 2001 From: sickcodes Date: Sun, 21 Mar 2021 21:11:40 +0000 Subject: [PATCH] Update docker start commands (drop back into shell using docker start -ai ) and CREDITS.md --- CREDITS.md | 6 ++++++ README.md | 8 ++++---- 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 `. +Use `docker commit`, copy the ID, and then run `docker start -ai `. **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 +# docker start old container with -i for interactive, -a for attach STDIN/STDOUT +docker start -ai -i ``` ### 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"