mirror of
https://github.com/sickcodes/Docker-OSX.git
synced 2024-12-22 05:51:32 -06:00
Update docker start commands (drop back into shell using docker start -ai <id>) and CREDITS.md
This commit is contained in:
parent
5bd86a58f6
commit
37ed54da3d
@ -57,3 +57,9 @@ These credits refer to the contributors to this repository:
|
|||||||
[@MrBenFTW](https://github.com/MrBenFTW) - Tempfix for arch #150
|
[@MrBenFTW](https://github.com/MrBenFTW) - Tempfix for arch #150
|
||||||
|
|
||||||
[@edsonboldrini](https://github.com/edsonboldrini) - Update README.md #161
|
[@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.
|
#### 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:**
|
**Alternatively:**
|
||||||
|
|
||||||
@ -195,8 +195,8 @@ Containers that use `sickcodes/docker-osx:auto` can be stopped while being start
|
|||||||
# find last container
|
# find last container
|
||||||
docker ps -a
|
docker ps -a
|
||||||
|
|
||||||
# docker start old container with -i for interactive
|
# docker start old container with -i for interactive, -a for attach STDIN/STDOUT
|
||||||
docker start -i <Replace this with your ID>
|
docker start -ai -i <Replace this with your ID>
|
||||||
```
|
```
|
||||||
|
|
||||||
### Quick Start Own Image (naked container image)
|
### 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 ps --all
|
||||||
|
|
||||||
# docker start the container ID
|
# 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
|
# if you have many containers, you can try automate it with filters like this
|
||||||
# docker ps --all --filter "ancestor=sickcodes/docker-osx"
|
# docker ps --all --filter "ancestor=sickcodes/docker-osx"
|
||||||
|
Loading…
Reference in New Issue
Block a user