mirror of
https://github.com/sickcodes/Docker-OSX.git
synced 2024-10-30 00:23:45 -05:00
Replaced starting old container with more simplified version
This commit is contained in:
parent
e0e5fc5eb1
commit
c6920a91d8
19
README.md
19
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.
|
If you don't run this you will have a new image every time.
|
||||||
|
|
||||||
```
|
```
|
||||||
# look at your recent containers
|
# look at your recent containers and copy the CONTAINER ID
|
||||||
docker ps --all --filter "ancestor=docker-osx"
|
docker ps --all
|
||||||
docker ps --all --filter "ancestor=sickcodes/docker-osx"
|
|
||||||
|
|
||||||
# boot the old ones
|
# docker start the container ID
|
||||||
docker start $(docker ps -q --all --filter "ancestor=docker-osx")
|
docker start abc123xyz567
|
||||||
docker start $(docker ps -q --all --filter "ancestor=sickcodes/docker-osx")
|
|
||||||
|
|
||||||
# close all the ones you don't need
|
# if you have many containers, you can try automate it with filters like this
|
||||||
|
# docker ps --all --filter "ancestor=sickcodes/docker-osx"
|
||||||
# check which one is still running
|
|
||||||
docker ps
|
|
||||||
|
|
||||||
# write down the good one and then use that for later
|
|
||||||
docker start xxxxxxx
|
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user