docker-machine inspect
inspect
Usage: docker-machine inspect [OPTIONS] [arg...] Inspect information about a machine Description: Argument is a machine name. Options: --format, -f Format the output using the given go template.
By default, this will render information about a machine as JSON. If a format is specified, the given template will be executed for each result.
Go’s text/template package describes all the details of the format.
In addition to the text/template
syntax, there are some additional functions, json
and prettyjson
, which can be used to format the output as JSON (documented below).
Examples
List all the details of a machine:
This is the default usage of inspect
.
$ docker-machine inspect dev { "DriverName": "virtualbox",