Adding example of ls filter by name

Signed-off-by: Jean-Laurent de Morlhon <jeanlaurent@morlhon.net>
This commit is contained in:
Jean-Laurent de Morlhon 2016-01-08 12:17:53 +01:00
parent cc4930d7dc
commit f05b0a4cc0
1 changed files with 4 additions and 0 deletions

View File

@ -93,6 +93,10 @@ To list all machine names with their driver in a table format you can use:
foo1 - virtualbox Running tcp://192.168.99.106:2376
foo2 * virtualbox Running tcp://192.168.99.107:2376
$ docker-machine ls --filter name=foo0
NAME ACTIVE DRIVER STATE URL
foo0 - virtualbox Running tcp://192.168.99.105:2376
$ docker-machine ls --filter driver=virtualbox --filter state=Stopped
NAME ACTIVE DRIVER STATE URL SWARM
dev - virtualbox Stopped