Skip to content
This is the documentation for main, which is not released yet. Read the latest.

dicer inspect

Shows an instance’s whole definition and state. With --format json or yaml, prints the daemon’s full record of it, raw sizes and all, for scripts: an array of one object per instance.

Usage

$ dicer inspect NAME... [flags]

Examples

$ dicer inspect web
$ dicer inspect web --format json | jq -r '.[0].ip'
$ dicer inspect web --format '{{.IP}}'

Flags

FlagDescription
-c, --columns stringsShow a table of just these columns instead, comma-separated and in any case.
--format stringOutput format: table, json, yaml, or a Go template of the table’s columns, e.g. ‘{{.Name}}’. Default: table.

Global flags

FlagDescription
-D, --debugTrace every call to the daemon on stderr (or set $DICER_DEBUG).
-r, --remote stringDaemon to talk to: a remote’s name, or an address (unix:///PATH or HOST:PORT) (default $DICER_REMOTE, then the current remote, then local).
--request-timeout durationGive up on a single call to the daemon after this long, e.g. 30s (0: never; streams such as logs -f and exec are not bounded).