Files
docker-machine/docs/reference/active.md
David Gageot 68e6e3f905 Lint all Markdown documents
Signed-off-by: David Gageot <david@gageot.net>
2015-11-27 10:38:56 +01:00

24 lines
635 B
Markdown

<!--[metadata]>
+++
title = "active"
description = "Identify active machines"
keywords = ["machine, active, subcommand"]
[menu.main]
parent="smn_machine_subcmds"
+++
<![end-metadata]-->
# active
See which machine is "active" (a machine is considered active if the
`DOCKER_HOST` environment variable points to it).
$ docker-machine ls
NAME ACTIVE DRIVER STATE URL
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