Skip to content
This repository has been archived by the owner on Sep 26, 2021. It is now read-only.

Commit

Permalink
docs: show "-" for "inactive" machines
Browse files Browse the repository at this point in the history
Signed-off-by: Soshi Katsuta <soshi.katsuta@gmail.com>
  • Loading branch information
skatsuta committed Nov 16, 2015
1 parent d8d57b8 commit 4a5e8ef
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ To see how to connect Docker to this machine, run: docker-machine env staging

$ docker-machine ls
NAME ACTIVE DRIVER STATE URL SWARM
dev virtualbox Running tcp://192.168.99.127:2376
dev - virtualbox Running tcp://192.168.99.127:2376
staging * digitalocean Running tcp://104.236.253.181:2376
```

Expand Down
2 changes: 1 addition & 1 deletion docs/get-started-cloud.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ the last section. If we look at `docker-machine ls`, we'll see it is now the
```
$ docker-machine ls
NAME ACTIVE DRIVER STATE URL
dev virtualbox Running tcp://192.168.99.103:2376
dev - virtualbox Running tcp://192.168.99.103:2376
staging * digitalocean Running tcp://104.236.50.118:2376
```

Expand Down
2 changes: 1 addition & 1 deletion docs/get-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ command again:
```
$ docker-machine ls
NAME ACTIVE DRIVER STATE URL SWARM
dev virtualbox Running tcp://192.168.99.100:2376
dev - virtualbox Running tcp://192.168.99.100:2376
```

Next, as noted in the output of the `docker-machine create` command, we have to
Expand Down
4 changes: 2 additions & 2 deletions docs/reference/active.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ See which machine is "active" (a machine is considered active if the
```
$ docker-machine ls
NAME ACTIVE DRIVER STATE URL
dev virtualbox Running tcp://192.168.99.103:2376
dev - virtualbox Running tcp://192.168.99.103:2376
staging * digitalocean Running tcp://104.236.50.118:2376
$ echo $DOCKER_HOST
tcp://104.236.50.118:2376
$ docker-machine active
staging
```
```
8 changes: 4 additions & 4 deletions docs/reference/ls.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,14 @@ The currently supported filters are:
```
$ docker-machine ls
NAME ACTIVE DRIVER STATE URL
dev virtualbox Stopped
foo0 virtualbox Running tcp://192.168.99.105:2376
foo1 virtualbox Running tcp://192.168.99.106:2376
dev - virtualbox Stopped
foo0 - virtualbox Running tcp://192.168.99.105:2376
foo1 - virtualbox Running tcp://192.168.99.106:2376
foo2 * virtualbox Running tcp://192.168.99.107:2376
```

```
$ docker-machine ls --filter driver=virtualbox --filter state=Stopped
NAME ACTIVE DRIVER STATE URL SWARM
dev virtualbox Stopped
dev - virtualbox Stopped
```
8 changes: 4 additions & 4 deletions docs/reference/rm.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ on the cloud provider or virtualization management platform.
```
$ docker-machine ls
NAME ACTIVE DRIVER STATE URL
foo0 virtualbox Running tcp://192.168.99.105:2376
foo1 virtualbox Running tcp://192.168.99.106:2376
foo0 - virtualbox Running tcp://192.168.99.105:2376
foo1 - virtualbox Running tcp://192.168.99.106:2376
$ docker-machine rm foo1
$ docker-machine ls
NAME ACTIVE DRIVER STATE URL
foo0 virtualbox Running tcp://192.168.99.105:2376
```
foo0 - virtualbox Running tcp://192.168.99.105:2376
```

0 comments on commit 4a5e8ef

Please sign in to comment.