dicer instance list
List instances.
Usage
$ dicer instance list [flags]
Also run as dicer instance ls, dicer instance ps.
Examples
$ dicer ps
$ dicer ps --filter state=running --filter label=team=web
$ dicer ps -c name,state,ip
$ dicer ps --format '{{.Name}}\t{{.IP}}'
$ dicer stop $(dicer ps -q --filter state=running)
$ dicer ps --watch
Flags
| Flag | Description |
|---|---|
-c, --columns strings | Columns of the table to display, comma-separated and in any case (default: all). |
-f, --filter stringArray | Show only instances that match, as KEY=VALUE (repeatable); keys are name, state, image, network, label. |
--format string | Output format: table, json, yaml, or a Go template of the table’s columns, e.g. ‘{{.Name}}’. Default: table. |
--interval duration | How often --watch redraws. Default: 2s. |
-q, --quiet | Only display names, one a line. |
-w, --watch | Keep the list on screen, redrawn as it changes, until Ctrl+C. |
--wide | Show every column, not just name, image, status, address and ports. |
Global flags
| Flag | Description |
|---|---|
-D, --debug | Trace every call to the daemon on stderr (or set $DICER_DEBUG). |
-r, --remote string | Daemon 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 duration | Give 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). |