mirror of
https://github.com/kevwillow/scaffold.git
synced 2026-10-20 08:37:34 +02:00
Adds duplicate flag/short_flag validation, subcommand name sanitization, HTML escaping for labels, 50 MB output buffer cap, atexit-based arrow cleanup, light-mode tooltip fix, and comprehensive test coverage for functional, security, and smoke tests. Includes diagnostic scripts and reports. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
8141 lines
223 KiB
JSON
8141 lines
223 KiB
JSON
{
|
|
"_format": "scaffold_schema",
|
|
"tool": "Docker",
|
|
"binary": "docker",
|
|
"description": "Container runtime and management tool.",
|
|
"elevated": "optional",
|
|
"subcommands": [
|
|
{
|
|
"name": "container run",
|
|
"description": "Create and run a new container from an image",
|
|
"arguments": [
|
|
{
|
|
"name": "Add Host",
|
|
"flag": "--add-host",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Add a custom host-to-IP mapping (host:ip)",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": [
|
|
"host.docker.internal:host-gateway",
|
|
"myhost:192.168.1.1"
|
|
],
|
|
"display_group": "Network",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Annotation",
|
|
"flag": "--annotation",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Add an annotation to the container (passed through to the OCI runtime)",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "Advanced",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Attach",
|
|
"flag": "--attach",
|
|
"short_flag": "-a",
|
|
"type": "enum",
|
|
"description": "Attach to STDIN, STDOUT or STDERR",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": [
|
|
"STDIN",
|
|
"STDOUT",
|
|
"STDERR"
|
|
],
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "IO",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Block IO Weight",
|
|
"flag": "--blkio-weight",
|
|
"short_flag": null,
|
|
"type": "integer",
|
|
"description": "Block IO weight (relative weight), between 10 and 1000, or 0 to disable",
|
|
"required": false,
|
|
"default": 0,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "Resources",
|
|
"min": 0,
|
|
"max": 1000,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Cap Add",
|
|
"flag": "--cap-add",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Add Linux capabilities",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": [
|
|
"NET_ADMIN",
|
|
"SYS_PTRACE",
|
|
"ALL"
|
|
],
|
|
"display_group": "Security",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Cap Drop",
|
|
"flag": "--cap-drop",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Drop Linux capabilities",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": [
|
|
"NET_RAW",
|
|
"MKNOD",
|
|
"ALL"
|
|
],
|
|
"display_group": "Security",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Cgroup Namespace",
|
|
"flag": "--cgroupns",
|
|
"short_flag": null,
|
|
"type": "enum",
|
|
"description": "Cgroup namespace to use",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": [
|
|
"host",
|
|
"private"
|
|
],
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "Namespaces",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Cgroup Parent",
|
|
"flag": "--cgroup-parent",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Optional parent cgroup for the container",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "Resources",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "CID File",
|
|
"flag": "--cidfile",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Write the container ID to the file",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "Advanced",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "CPU Count",
|
|
"flag": "--cpu-count",
|
|
"short_flag": null,
|
|
"type": "integer",
|
|
"description": "CPU count (Windows only)",
|
|
"required": false,
|
|
"default": 0,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "CPU",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "CPU Percent",
|
|
"flag": "--cpu-percent",
|
|
"short_flag": null,
|
|
"type": "integer",
|
|
"description": "CPU percent (Windows only)",
|
|
"required": false,
|
|
"default": 0,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "CPU",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "CPU Period",
|
|
"flag": "--cpu-period",
|
|
"short_flag": null,
|
|
"type": "integer",
|
|
"description": "Limit CPU CFS (Completely Fair Scheduler) period",
|
|
"required": false,
|
|
"default": 0,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "CPU",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "CPU Quota",
|
|
"flag": "--cpu-quota",
|
|
"short_flag": null,
|
|
"type": "integer",
|
|
"description": "Limit CPU CFS (Completely Fair Scheduler) quota",
|
|
"required": false,
|
|
"default": 0,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "CPU",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "CPU RT Period",
|
|
"flag": "--cpu-rt-period",
|
|
"short_flag": null,
|
|
"type": "integer",
|
|
"description": "Limit CPU real-time period in microseconds",
|
|
"required": false,
|
|
"default": 0,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "CPU",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "CPU RT Runtime",
|
|
"flag": "--cpu-rt-runtime",
|
|
"short_flag": null,
|
|
"type": "integer",
|
|
"description": "Limit CPU real-time runtime in microseconds",
|
|
"required": false,
|
|
"default": 0,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "CPU",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "CPU Shares",
|
|
"flag": "--cpu-shares",
|
|
"short_flag": "-c",
|
|
"type": "integer",
|
|
"description": "CPU shares (relative weight)",
|
|
"required": false,
|
|
"default": 0,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "CPU",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "CPUs",
|
|
"flag": "--cpus",
|
|
"short_flag": null,
|
|
"type": "float",
|
|
"description": "Number of CPUs",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "CPU",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "CPUset CPUs",
|
|
"flag": "--cpuset-cpus",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "CPUs in which to allow execution (0-3, 0,1)",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": [
|
|
"0-3",
|
|
"0,1",
|
|
"0"
|
|
],
|
|
"display_group": "CPU",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "CPUset Mems",
|
|
"flag": "--cpuset-mems",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "MEMs in which to allow execution (0-3, 0,1)",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "CPU",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Detach",
|
|
"flag": "--detach",
|
|
"short_flag": "-d",
|
|
"type": "boolean",
|
|
"description": "Run container in background and print container ID",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Detach Keys",
|
|
"flag": "--detach-keys",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Override the key sequence for detaching a container",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "IO",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Device",
|
|
"flag": "--device",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Add a host device to the container",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": [
|
|
"/dev/sda:/dev/xvdc",
|
|
"/dev/video0"
|
|
],
|
|
"display_group": "Devices",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Device Cgroup Rule",
|
|
"flag": "--device-cgroup-rule",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Add a rule to the cgroup allowed devices list",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "Devices",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Device Read BPS",
|
|
"flag": "--device-read-bps",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Limit read rate (bytes per second) from a device",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "Devices",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Device Read IOPS",
|
|
"flag": "--device-read-iops",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Limit read rate (IO per second) from a device",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "Devices",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Device Write BPS",
|
|
"flag": "--device-write-bps",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Limit write rate (bytes per second) to a device",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "Devices",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Device Write IOPS",
|
|
"flag": "--device-write-iops",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Limit write rate (IO per second) to a device",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "Devices",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "DNS",
|
|
"flag": "--dns",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Set custom DNS servers",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": [
|
|
"8.8.8.8",
|
|
"1.1.1.1"
|
|
],
|
|
"display_group": "Network",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "DNS Option",
|
|
"flag": "--dns-option",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Set DNS options",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "Network",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "DNS Search",
|
|
"flag": "--dns-search",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Set custom DNS search domains",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "Network",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Domain Name",
|
|
"flag": "--domainname",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Container NIS domain name",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "Network",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Entrypoint",
|
|
"flag": "--entrypoint",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Overwrite the default ENTRYPOINT of the image",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Environment",
|
|
"flag": "--env",
|
|
"short_flag": "-e",
|
|
"type": "string",
|
|
"description": "Set environment variables",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": [
|
|
"MYVAR=value",
|
|
"DEBUG=1"
|
|
],
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Env File",
|
|
"flag": "--env-file",
|
|
"short_flag": null,
|
|
"type": "file",
|
|
"description": "Read in a file of environment variables",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Expose",
|
|
"flag": "--expose",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Expose a port or a range of ports",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": [
|
|
"8080",
|
|
"8080-8090"
|
|
],
|
|
"display_group": "Network",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "GPUs",
|
|
"flag": "--gpus",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "GPU devices to add to the container ('all' to pass all GPUs)",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": [
|
|
"all",
|
|
"device=0",
|
|
"device=0,1"
|
|
],
|
|
"display_group": "Devices",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Group Add",
|
|
"flag": "--group-add",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Add additional groups to join",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "Security",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Health Cmd",
|
|
"flag": "--health-cmd",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Command to run to check health",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "Health Check",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Health Interval",
|
|
"flag": "--health-interval",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Time between running the check (ms|s|m|h)",
|
|
"required": false,
|
|
"default": "0s",
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": [
|
|
"30s",
|
|
"1m",
|
|
"5m"
|
|
],
|
|
"display_group": "Health Check",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Health Retries",
|
|
"flag": "--health-retries",
|
|
"short_flag": null,
|
|
"type": "integer",
|
|
"description": "Consecutive failures needed to report unhealthy",
|
|
"required": false,
|
|
"default": 0,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "Health Check",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Health Start Interval",
|
|
"flag": "--health-start-interval",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Time between running the check during the start period (ms|s|m|h)",
|
|
"required": false,
|
|
"default": "0s",
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "Health Check",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Health Start Period",
|
|
"flag": "--health-start-period",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Start period for the container to initialize before starting health-retries countdown (ms|s|m|h)",
|
|
"required": false,
|
|
"default": "0s",
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "Health Check",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Health Timeout",
|
|
"flag": "--health-timeout",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Maximum time to allow one check to run (ms|s|m|h)",
|
|
"required": false,
|
|
"default": "0s",
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "Health Check",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Hostname",
|
|
"flag": "--hostname",
|
|
"short_flag": "-h",
|
|
"type": "string",
|
|
"description": "Container host name",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Init",
|
|
"flag": "--init",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Run an init inside the container that forwards signals and reaps processes",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Interactive",
|
|
"flag": "--interactive",
|
|
"short_flag": "-i",
|
|
"type": "boolean",
|
|
"description": "Keep STDIN open even if not attached",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "IP",
|
|
"flag": "--ip",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "IPv4 address (e.g., 172.30.100.104)",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "Network",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "IPv6",
|
|
"flag": "--ip6",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "IPv6 address (e.g., 2001:db8::33)",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "Network",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "IPC",
|
|
"flag": "--ipc",
|
|
"short_flag": null,
|
|
"type": "enum",
|
|
"description": "IPC mode to use",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": [
|
|
"shareable",
|
|
"private",
|
|
"host",
|
|
"none"
|
|
],
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "Namespaces",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Isolation",
|
|
"flag": "--isolation",
|
|
"short_flag": null,
|
|
"type": "enum",
|
|
"description": "Container isolation technology",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": [
|
|
"default",
|
|
"process",
|
|
"hyperv"
|
|
],
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "Advanced",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Label",
|
|
"flag": "--label",
|
|
"short_flag": "-l",
|
|
"type": "string",
|
|
"description": "Set metadata on a container",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": [
|
|
"com.example.key=value"
|
|
],
|
|
"display_group": "Metadata",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Label File",
|
|
"flag": "--label-file",
|
|
"short_flag": null,
|
|
"type": "file",
|
|
"description": "Read in a line delimited file of labels",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "Metadata",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Link",
|
|
"flag": "--link",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Add link to another container",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "Network",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": "Use user-defined networks instead",
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Link Local IP",
|
|
"flag": "--link-local-ip",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Container IPv4/IPv6 link-local addresses",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "Network",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Log Driver",
|
|
"flag": "--log-driver",
|
|
"short_flag": null,
|
|
"type": "enum",
|
|
"description": "Logging driver for the container",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": [
|
|
"json-file",
|
|
"syslog",
|
|
"journald",
|
|
"gelf",
|
|
"fluentd",
|
|
"awslogs",
|
|
"splunk",
|
|
"etwlogs",
|
|
"gcplogs",
|
|
"local",
|
|
"none"
|
|
],
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "Logging",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Log Opt",
|
|
"flag": "--log-opt",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Log driver options",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": [
|
|
"max-size=10m",
|
|
"max-file=3"
|
|
],
|
|
"display_group": "Logging",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "MAC Address",
|
|
"flag": "--mac-address",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Container MAC address (e.g., 92:d0:c6:0a:29:33)",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "Network",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Memory",
|
|
"flag": "--memory",
|
|
"short_flag": "-m",
|
|
"type": "string",
|
|
"description": "Memory limit",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": [
|
|
"512m",
|
|
"1g",
|
|
"256m"
|
|
],
|
|
"display_group": "Memory",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Memory Reservation",
|
|
"flag": "--memory-reservation",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Memory soft limit",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": [
|
|
"256m",
|
|
"512m"
|
|
],
|
|
"display_group": "Memory",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Memory Swap",
|
|
"flag": "--memory-swap",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Swap limit equal to memory plus swap: '-1' to enable unlimited swap",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "Memory",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Memory Swappiness",
|
|
"flag": "--memory-swappiness",
|
|
"short_flag": null,
|
|
"type": "integer",
|
|
"description": "Tune container memory swappiness (0 to 100)",
|
|
"required": false,
|
|
"default": -1,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "Memory",
|
|
"min": -1,
|
|
"max": 100,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Mount",
|
|
"flag": "--mount",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Attach a filesystem mount to the container",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": [
|
|
"type=bind,source=/host,target=/container",
|
|
"type=volume,source=myvolume,target=/data",
|
|
"type=tmpfs,target=/tmp"
|
|
],
|
|
"display_group": "Volumes",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Name",
|
|
"flag": "--name",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Assign a name to the container",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Network",
|
|
"flag": "--network",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Connect a container to a network",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": [
|
|
"bridge",
|
|
"host",
|
|
"none",
|
|
"my-network"
|
|
],
|
|
"display_group": "Network",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Network Alias",
|
|
"flag": "--network-alias",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Add network-scoped alias for the container",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "Network",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "No Healthcheck",
|
|
"flag": "--no-healthcheck",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Disable any container-specified HEALTHCHECK",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "Health Check",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "OOM Kill Disable",
|
|
"flag": "--oom-kill-disable",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Disable OOM Killer",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "Memory",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": true
|
|
},
|
|
{
|
|
"name": "OOM Score Adj",
|
|
"flag": "--oom-score-adj",
|
|
"short_flag": null,
|
|
"type": "integer",
|
|
"description": "Tune host's OOM preferences (-1000 to 1000)",
|
|
"required": false,
|
|
"default": 0,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "Memory",
|
|
"min": -1000,
|
|
"max": 1000,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "PID",
|
|
"flag": "--pid",
|
|
"short_flag": null,
|
|
"type": "enum",
|
|
"description": "PID namespace to use",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": [
|
|
"host",
|
|
"container"
|
|
],
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "Namespaces",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "PIDs Limit",
|
|
"flag": "--pids-limit",
|
|
"short_flag": null,
|
|
"type": "integer",
|
|
"description": "Tune container pids limit (set -1 for unlimited)",
|
|
"required": false,
|
|
"default": 0,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "Resources",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Platform",
|
|
"flag": "--platform",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Set platform if server is multi-platform capable",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": [
|
|
"linux/amd64",
|
|
"linux/arm64",
|
|
"linux/arm/v7"
|
|
],
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Privileged",
|
|
"flag": "--privileged",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Give extended privileges to this container",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": true
|
|
},
|
|
{
|
|
"name": "Publish",
|
|
"flag": "--publish",
|
|
"short_flag": "-p",
|
|
"type": "string",
|
|
"description": "Publish a container's port(s) to the host",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": [
|
|
"8080:80",
|
|
"127.0.0.1:8080:80",
|
|
"8080:80/udp"
|
|
],
|
|
"display_group": "Network",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Publish All",
|
|
"flag": "--publish-all",
|
|
"short_flag": "-P",
|
|
"type": "boolean",
|
|
"description": "Publish all exposed ports to random ports",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "Network",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Pull",
|
|
"flag": "--pull",
|
|
"short_flag": null,
|
|
"type": "enum",
|
|
"description": "Pull image before running",
|
|
"required": false,
|
|
"default": "missing",
|
|
"choices": [
|
|
"always",
|
|
"missing",
|
|
"never"
|
|
],
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Quiet",
|
|
"flag": "--quiet",
|
|
"short_flag": "-q",
|
|
"type": "boolean",
|
|
"description": "Suppress the pull output",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Read Only",
|
|
"flag": "--read-only",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Mount the container's root filesystem as read only",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "Security",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Restart",
|
|
"flag": "--restart",
|
|
"short_flag": null,
|
|
"type": "enum",
|
|
"description": "Restart policy to apply when a container exits",
|
|
"required": false,
|
|
"default": "no",
|
|
"choices": [
|
|
"no",
|
|
"on-failure",
|
|
"always",
|
|
"unless-stopped"
|
|
],
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Remove",
|
|
"flag": "--rm",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Automatically remove the container when it exits",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Runtime",
|
|
"flag": "--runtime",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Runtime to use for this container",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "Advanced",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Security Opt",
|
|
"flag": "--security-opt",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Security Options",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": [
|
|
"no-new-privileges",
|
|
"label=type:svirt_apache_t",
|
|
"seccomp=unconfined",
|
|
"apparmor=unconfined"
|
|
],
|
|
"display_group": "Security",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "SHM Size",
|
|
"flag": "--shm-size",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Size of /dev/shm",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": [
|
|
"64m",
|
|
"256m",
|
|
"1g"
|
|
],
|
|
"display_group": "Memory",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Sig Proxy",
|
|
"flag": "--sig-proxy",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Proxy received signals to the process",
|
|
"required": false,
|
|
"default": true,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "Advanced",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Stop Signal",
|
|
"flag": "--stop-signal",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Signal to stop the container",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": [
|
|
"SIGTERM",
|
|
"SIGKILL",
|
|
"SIGINT"
|
|
],
|
|
"display_group": "Advanced",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Stop Timeout",
|
|
"flag": "--stop-timeout",
|
|
"short_flag": null,
|
|
"type": "integer",
|
|
"description": "Timeout (in seconds) to stop a container",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "Advanced",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Storage Opt",
|
|
"flag": "--storage-opt",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Storage driver options for the container",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "Advanced",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Sysctl",
|
|
"flag": "--sysctl",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Sysctl options",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": [
|
|
"net.ipv4.ip_forward=1"
|
|
],
|
|
"display_group": "Advanced",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Tmpfs",
|
|
"flag": "--tmpfs",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Mount a tmpfs directory",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": [
|
|
"/run:rw,noexec,nosuid,size=65536k"
|
|
],
|
|
"display_group": "Volumes",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "TTY",
|
|
"flag": "--tty",
|
|
"short_flag": "-t",
|
|
"type": "boolean",
|
|
"description": "Allocate a pseudo-TTY",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Ulimit",
|
|
"flag": "--ulimit",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Ulimit options",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": [
|
|
"nofile=1024:2048",
|
|
"nproc=512"
|
|
],
|
|
"display_group": "Resources",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "User",
|
|
"flag": "--user",
|
|
"short_flag": "-u",
|
|
"type": "string",
|
|
"description": "Username or UID (format: <name|uid>[:<group|gid>])",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": [
|
|
"1000",
|
|
"root",
|
|
"1000:1000"
|
|
],
|
|
"display_group": "Security",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "User Namespace",
|
|
"flag": "--userns",
|
|
"short_flag": null,
|
|
"type": "enum",
|
|
"description": "User namespace to use",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": [
|
|
"host"
|
|
],
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "Namespaces",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "UTS",
|
|
"flag": "--uts",
|
|
"short_flag": null,
|
|
"type": "enum",
|
|
"description": "UTS namespace to use",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": [
|
|
"host"
|
|
],
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "Namespaces",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Volume",
|
|
"flag": "--volume",
|
|
"short_flag": "-v",
|
|
"type": "string",
|
|
"description": "Bind mount a volume",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": [
|
|
"/host/path:/container/path",
|
|
"myvolume:/data",
|
|
"/host/path:/container/path:ro"
|
|
],
|
|
"display_group": "Volumes",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Volume Driver",
|
|
"flag": "--volume-driver",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Optional volume driver for the container",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "Volumes",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Volumes From",
|
|
"flag": "--volumes-from",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Mount volumes from the specified container(s)",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "Volumes",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Workdir",
|
|
"flag": "--workdir",
|
|
"short_flag": "-w",
|
|
"type": "string",
|
|
"description": "Working directory inside the container",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Image",
|
|
"flag": "IMAGE",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Docker image to run",
|
|
"required": true,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": true,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "container exec",
|
|
"description": "Execute a command in a running container",
|
|
"arguments": [
|
|
{
|
|
"name": "Detach",
|
|
"flag": "--detach",
|
|
"short_flag": "-d",
|
|
"type": "boolean",
|
|
"description": "Detached mode: run command in the background",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Detach Keys",
|
|
"flag": "--detach-keys",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Override the key sequence for detaching a container",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Environment",
|
|
"flag": "--env",
|
|
"short_flag": "-e",
|
|
"type": "string",
|
|
"description": "Set environment variables",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Env File",
|
|
"flag": "--env-file",
|
|
"short_flag": null,
|
|
"type": "file",
|
|
"description": "Read in a file of environment variables",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Interactive",
|
|
"flag": "--interactive",
|
|
"short_flag": "-i",
|
|
"type": "boolean",
|
|
"description": "Keep STDIN open even if not attached",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Privileged",
|
|
"flag": "--privileged",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Give extended privileges to the command",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": true
|
|
},
|
|
{
|
|
"name": "TTY",
|
|
"flag": "--tty",
|
|
"short_flag": "-t",
|
|
"type": "boolean",
|
|
"description": "Allocate a pseudo-TTY",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "User",
|
|
"flag": "--user",
|
|
"short_flag": "-u",
|
|
"type": "string",
|
|
"description": "Username or UID",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Workdir",
|
|
"flag": "--workdir",
|
|
"short_flag": "-w",
|
|
"type": "string",
|
|
"description": "Working directory inside the container",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Container",
|
|
"flag": "CONTAINER",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Target container name or ID",
|
|
"required": true,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": true,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "container ls",
|
|
"description": "List containers",
|
|
"arguments": [
|
|
{
|
|
"name": "All",
|
|
"flag": "--all",
|
|
"short_flag": "-a",
|
|
"type": "boolean",
|
|
"description": "Show all containers (default shows just running)",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Filter",
|
|
"flag": "--filter",
|
|
"short_flag": "-f",
|
|
"type": "string",
|
|
"description": "Filter output based on conditions provided",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": [
|
|
"status=running",
|
|
"name=mycontainer",
|
|
"label=com.example.key"
|
|
],
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Format",
|
|
"flag": "--format",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Format output using a custom template",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": [
|
|
"table {{.ID}}\\t{{.Names}}\\t{{.Status}}",
|
|
"{{.ID}}: {{.Names}}"
|
|
],
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Last",
|
|
"flag": "--last",
|
|
"short_flag": "-n",
|
|
"type": "integer",
|
|
"description": "Show n last created containers (includes all states)",
|
|
"required": false,
|
|
"default": -1,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Latest",
|
|
"flag": "--latest",
|
|
"short_flag": "-l",
|
|
"type": "boolean",
|
|
"description": "Show the latest created container (includes all states)",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "No Trunc",
|
|
"flag": "--no-trunc",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Don't truncate output",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Quiet",
|
|
"flag": "--quiet",
|
|
"short_flag": "-q",
|
|
"type": "boolean",
|
|
"description": "Only display container IDs",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Size",
|
|
"flag": "--size",
|
|
"short_flag": "-s",
|
|
"type": "boolean",
|
|
"description": "Display total file sizes",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "container logs",
|
|
"description": "Fetch the logs of a container",
|
|
"arguments": [
|
|
{
|
|
"name": "Details",
|
|
"flag": "--details",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Show extra details provided to logs",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Follow",
|
|
"flag": "--follow",
|
|
"short_flag": "-f",
|
|
"type": "boolean",
|
|
"description": "Follow log output",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Since",
|
|
"flag": "--since",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Show logs since timestamp or relative time",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": [
|
|
"2023-01-01T00:00:00Z",
|
|
"10m",
|
|
"1h"
|
|
],
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Tail",
|
|
"flag": "--tail",
|
|
"short_flag": "-n",
|
|
"type": "string",
|
|
"description": "Number of lines to show from the end of the logs",
|
|
"required": false,
|
|
"default": "all",
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": [
|
|
"100",
|
|
"50",
|
|
"all"
|
|
],
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Timestamps",
|
|
"flag": "--timestamps",
|
|
"short_flag": "-t",
|
|
"type": "boolean",
|
|
"description": "Show timestamps",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Until",
|
|
"flag": "--until",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Show logs before a timestamp or relative time",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": [
|
|
"2023-12-31T23:59:59Z",
|
|
"10m"
|
|
],
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Container",
|
|
"flag": "CONTAINER",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Target container name or ID",
|
|
"required": true,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": true,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "container stop",
|
|
"description": "Stop one or more running containers",
|
|
"arguments": [
|
|
{
|
|
"name": "Signal",
|
|
"flag": "--signal",
|
|
"short_flag": "-s",
|
|
"type": "string",
|
|
"description": "Signal to send to the container",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Time",
|
|
"flag": "--time",
|
|
"short_flag": "-t",
|
|
"type": "integer",
|
|
"description": "Seconds to wait before killing the container",
|
|
"required": false,
|
|
"default": 10,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Container",
|
|
"flag": "CONTAINER",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Container name or ID",
|
|
"required": true,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": true,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "container start",
|
|
"description": "Start one or more stopped containers",
|
|
"arguments": [
|
|
{
|
|
"name": "Attach",
|
|
"flag": "--attach",
|
|
"short_flag": "-a",
|
|
"type": "boolean",
|
|
"description": "Attach STDOUT/STDERR and forward signals",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Detach Keys",
|
|
"flag": "--detach-keys",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Override the key sequence for detaching a container",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Interactive",
|
|
"flag": "--interactive",
|
|
"short_flag": "-i",
|
|
"type": "boolean",
|
|
"description": "Attach container's STDIN",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Container",
|
|
"flag": "CONTAINER",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Container name or ID",
|
|
"required": true,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": true,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "container restart",
|
|
"description": "Restart one or more containers",
|
|
"arguments": [
|
|
{
|
|
"name": "Signal",
|
|
"flag": "--signal",
|
|
"short_flag": "-s",
|
|
"type": "string",
|
|
"description": "Signal to send to the container",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Time",
|
|
"flag": "--time",
|
|
"short_flag": "-t",
|
|
"type": "integer",
|
|
"description": "Seconds to wait before killing the container",
|
|
"required": false,
|
|
"default": 10,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Container",
|
|
"flag": "CONTAINER",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Container name or ID",
|
|
"required": true,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": true,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "container kill",
|
|
"description": "Kill one or more running containers",
|
|
"arguments": [
|
|
{
|
|
"name": "Signal",
|
|
"flag": "--signal",
|
|
"short_flag": "-s",
|
|
"type": "string",
|
|
"description": "Signal to send to the container",
|
|
"required": false,
|
|
"default": "KILL",
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": [
|
|
"KILL",
|
|
"TERM",
|
|
"INT",
|
|
"HUP"
|
|
],
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Container",
|
|
"flag": "CONTAINER",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Container name or ID",
|
|
"required": true,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": true,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "container rm",
|
|
"description": "Remove one or more containers",
|
|
"arguments": [
|
|
{
|
|
"name": "Force",
|
|
"flag": "--force",
|
|
"short_flag": "-f",
|
|
"type": "boolean",
|
|
"description": "Force the removal of a running container (uses SIGKILL)",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": true
|
|
},
|
|
{
|
|
"name": "Link",
|
|
"flag": "--link",
|
|
"short_flag": "-l",
|
|
"type": "boolean",
|
|
"description": "Remove the specified link",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Volumes",
|
|
"flag": "--volumes",
|
|
"short_flag": "-v",
|
|
"type": "boolean",
|
|
"description": "Remove anonymous volumes associated with the container",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Container",
|
|
"flag": "CONTAINER",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Container name or ID",
|
|
"required": true,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": true,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "container pause",
|
|
"description": "Pause all processes within one or more containers",
|
|
"arguments": [
|
|
{
|
|
"name": "Container",
|
|
"flag": "CONTAINER",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Container name or ID",
|
|
"required": true,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": true,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "container unpause",
|
|
"description": "Unpause all processes within one or more containers",
|
|
"arguments": [
|
|
{
|
|
"name": "Container",
|
|
"flag": "CONTAINER",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Container name or ID",
|
|
"required": true,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": true,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "container inspect",
|
|
"description": "Display detailed information on one or more containers",
|
|
"arguments": [
|
|
{
|
|
"name": "Format",
|
|
"flag": "--format",
|
|
"short_flag": "-f",
|
|
"type": "string",
|
|
"description": "Format output using a custom template",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": [
|
|
"{{.State.Status}}",
|
|
"{{.NetworkSettings.IPAddress}}",
|
|
"{{json .Config}}"
|
|
],
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Size",
|
|
"flag": "--size",
|
|
"short_flag": "-s",
|
|
"type": "boolean",
|
|
"description": "Display total file sizes",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Container",
|
|
"flag": "CONTAINER",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Container name or ID",
|
|
"required": true,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": true,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "container cp",
|
|
"description": "Copy files/folders between a container and the local filesystem",
|
|
"arguments": [
|
|
{
|
|
"name": "Archive",
|
|
"flag": "--archive",
|
|
"short_flag": "-a",
|
|
"type": "boolean",
|
|
"description": "Archive mode (copy all uid/gid information)",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Follow Link",
|
|
"flag": "--follow-link",
|
|
"short_flag": "-L",
|
|
"type": "boolean",
|
|
"description": "Always follow symbol link in SRC_PATH",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Quiet",
|
|
"flag": "--quiet",
|
|
"short_flag": "-q",
|
|
"type": "boolean",
|
|
"description": "Suppress progress output",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Source",
|
|
"flag": "SRC_PATH",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Source path (container:path or local path)",
|
|
"required": true,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": true,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "container commit",
|
|
"description": "Create a new image from a container's changes",
|
|
"arguments": [
|
|
{
|
|
"name": "Author",
|
|
"flag": "--author",
|
|
"short_flag": "-a",
|
|
"type": "string",
|
|
"description": "Author (e.g., John Doe <john@example.com>)",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Change",
|
|
"flag": "--change",
|
|
"short_flag": "-c",
|
|
"type": "string",
|
|
"description": "Apply Dockerfile instruction to the created image",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": [
|
|
"CMD /bin/bash",
|
|
"EXPOSE 80",
|
|
"ENV DEBUG=true"
|
|
],
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Message",
|
|
"flag": "--message",
|
|
"short_flag": "-m",
|
|
"type": "string",
|
|
"description": "Commit message",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Pause",
|
|
"flag": "--pause",
|
|
"short_flag": "-p",
|
|
"type": "boolean",
|
|
"description": "Pause container during commit",
|
|
"required": false,
|
|
"default": true,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Container",
|
|
"flag": "CONTAINER",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Container name or ID",
|
|
"required": true,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": true,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "container diff",
|
|
"description": "Inspect changes to files or directories on a container's filesystem",
|
|
"arguments": [
|
|
{
|
|
"name": "Container",
|
|
"flag": "CONTAINER",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Container name or ID",
|
|
"required": true,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": true,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "container export",
|
|
"description": "Export a container's filesystem as a tar archive",
|
|
"arguments": [
|
|
{
|
|
"name": "Output",
|
|
"flag": "--output",
|
|
"short_flag": "-o",
|
|
"type": "string",
|
|
"description": "Write to a file, instead of STDOUT",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Container",
|
|
"flag": "CONTAINER",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Container name or ID",
|
|
"required": true,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": true,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "container port",
|
|
"description": "List port mappings or a specific mapping for the container",
|
|
"arguments": [
|
|
{
|
|
"name": "Container",
|
|
"flag": "CONTAINER",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Container name or ID",
|
|
"required": true,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": true,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "container prune",
|
|
"description": "Remove all stopped containers",
|
|
"arguments": [
|
|
{
|
|
"name": "Filter",
|
|
"flag": "--filter",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Provide filter values (e.g. until=24h)",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": [
|
|
"until=24h",
|
|
"until=2023-01-01",
|
|
"label=deprecated"
|
|
],
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Force",
|
|
"flag": "--force",
|
|
"short_flag": "-f",
|
|
"type": "boolean",
|
|
"description": "Do not prompt for confirmation",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": true
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "container rename",
|
|
"description": "Rename a container",
|
|
"arguments": [
|
|
{
|
|
"name": "Container",
|
|
"flag": "CONTAINER",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Container name or ID",
|
|
"required": true,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": true,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "container stats",
|
|
"description": "Display a live stream of container resource usage statistics",
|
|
"arguments": [
|
|
{
|
|
"name": "All",
|
|
"flag": "--all",
|
|
"short_flag": "-a",
|
|
"type": "boolean",
|
|
"description": "Show all containers (default shows just running)",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Format",
|
|
"flag": "--format",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Format output using a custom template",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": [
|
|
"table {{.Name}}\\t{{.CPUPerc}}\\t{{.MemUsage}}"
|
|
],
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "No Stream",
|
|
"flag": "--no-stream",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Disable streaming stats and only pull the first result",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "No Trunc",
|
|
"flag": "--no-trunc",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Do not truncate output",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "container top",
|
|
"description": "Display the running processes of a container",
|
|
"arguments": [
|
|
{
|
|
"name": "Container",
|
|
"flag": "CONTAINER",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Container name or ID",
|
|
"required": true,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": true,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "container update",
|
|
"description": "Update configuration of one or more containers",
|
|
"arguments": [
|
|
{
|
|
"name": "Block IO Weight",
|
|
"flag": "--blkio-weight",
|
|
"short_flag": null,
|
|
"type": "integer",
|
|
"description": "Block IO weight (relative weight), between 10 and 1000, or 0 to disable",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "Resources",
|
|
"min": 0,
|
|
"max": 1000,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "CPU Period",
|
|
"flag": "--cpu-period",
|
|
"short_flag": null,
|
|
"type": "integer",
|
|
"description": "Limit CPU CFS (Completely Fair Scheduler) period",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "CPU",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "CPU Quota",
|
|
"flag": "--cpu-quota",
|
|
"short_flag": null,
|
|
"type": "integer",
|
|
"description": "Limit CPU CFS (Completely Fair Scheduler) quota",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "CPU",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "CPU RT Period",
|
|
"flag": "--cpu-rt-period",
|
|
"short_flag": null,
|
|
"type": "integer",
|
|
"description": "Limit the CPU real-time period in microseconds",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "CPU",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "CPU RT Runtime",
|
|
"flag": "--cpu-rt-runtime",
|
|
"short_flag": null,
|
|
"type": "integer",
|
|
"description": "Limit the CPU real-time runtime in microseconds",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "CPU",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "CPU Shares",
|
|
"flag": "--cpu-shares",
|
|
"short_flag": "-c",
|
|
"type": "integer",
|
|
"description": "CPU shares (relative weight)",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "CPU",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "CPUs",
|
|
"flag": "--cpus",
|
|
"short_flag": null,
|
|
"type": "float",
|
|
"description": "Number of CPUs",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "CPU",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "CPUset CPUs",
|
|
"flag": "--cpuset-cpus",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "CPUs in which to allow execution (0-3, 0,1)",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "CPU",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "CPUset Mems",
|
|
"flag": "--cpuset-mems",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "MEMs in which to allow execution (0-3, 0,1)",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "CPU",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Memory",
|
|
"flag": "--memory",
|
|
"short_flag": "-m",
|
|
"type": "string",
|
|
"description": "Memory limit",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": [
|
|
"512m",
|
|
"1g"
|
|
],
|
|
"display_group": "Memory",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Memory Reservation",
|
|
"flag": "--memory-reservation",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Memory soft limit",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "Memory",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Memory Swap",
|
|
"flag": "--memory-swap",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Swap limit equal to memory plus swap (-1 for unlimited)",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "Memory",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "PIDs Limit",
|
|
"flag": "--pids-limit",
|
|
"short_flag": null,
|
|
"type": "integer",
|
|
"description": "Tune container pids limit (-1 for unlimited)",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "Resources",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Restart",
|
|
"flag": "--restart",
|
|
"short_flag": null,
|
|
"type": "enum",
|
|
"description": "Restart policy to apply when a container exits",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": [
|
|
"no",
|
|
"on-failure",
|
|
"always",
|
|
"unless-stopped"
|
|
],
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Container",
|
|
"flag": "CONTAINER",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Container name or ID",
|
|
"required": true,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": true,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "container wait",
|
|
"description": "Block until one or more containers stop, then print their exit codes",
|
|
"arguments": [
|
|
{
|
|
"name": "Container",
|
|
"flag": "CONTAINER",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Container name or ID",
|
|
"required": true,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": true,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "container attach",
|
|
"description": "Attach local standard input, output, and error streams to a running container",
|
|
"arguments": [
|
|
{
|
|
"name": "Detach Keys",
|
|
"flag": "--detach-keys",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Override the key sequence for detaching a container",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "No STDIN",
|
|
"flag": "--no-stdin",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Do not attach STDIN",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Sig Proxy",
|
|
"flag": "--sig-proxy",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Proxy all received signals to the process",
|
|
"required": false,
|
|
"default": true,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Container",
|
|
"flag": "CONTAINER",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Container name or ID",
|
|
"required": true,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": true,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "image build",
|
|
"description": "Build an image from a Dockerfile",
|
|
"arguments": [
|
|
{
|
|
"name": "Add Host",
|
|
"flag": "--add-host",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Add a custom host-to-IP mapping",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "Network",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Build Arg",
|
|
"flag": "--build-arg",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Set build-time variables",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": [
|
|
"HTTP_PROXY=http://proxy:3128",
|
|
"VERSION=1.0"
|
|
],
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Cache From",
|
|
"flag": "--cache-from",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Images to consider as cache sources",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": [
|
|
"myimage:latest"
|
|
],
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Cgroup Parent",
|
|
"flag": "--cgroup-parent",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Set the parent cgroup for RUN instructions",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "Resources",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Compress",
|
|
"flag": "--compress",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Compress the build context using gzip",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "CPU Period",
|
|
"flag": "--cpu-period",
|
|
"short_flag": null,
|
|
"type": "integer",
|
|
"description": "Limit CPU CFS (Completely Fair Scheduler) period",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "CPU",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "CPU Quota",
|
|
"flag": "--cpu-quota",
|
|
"short_flag": null,
|
|
"type": "integer",
|
|
"description": "Limit CPU CFS (Completely Fair Scheduler) quota",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "CPU",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "CPU Shares",
|
|
"flag": "--cpu-shares",
|
|
"short_flag": "-c",
|
|
"type": "integer",
|
|
"description": "CPU shares (relative weight)",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "CPU",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "CPUset CPUs",
|
|
"flag": "--cpuset-cpus",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "CPUs in which to allow execution (0-3, 0,1)",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "CPU",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "CPUset Mems",
|
|
"flag": "--cpuset-mems",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "MEMs in which to allow execution (0-3, 0,1)",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "CPU",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Disable Content Trust",
|
|
"flag": "--disable-content-trust",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Skip image verification",
|
|
"required": false,
|
|
"default": true,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "File",
|
|
"flag": "--file",
|
|
"short_flag": "-f",
|
|
"type": "file",
|
|
"description": "Name of the Dockerfile",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Force Remove",
|
|
"flag": "--force-rm",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Always remove intermediate containers",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Iidfile",
|
|
"flag": "--iidfile",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Write the image ID to the file",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Isolation",
|
|
"flag": "--isolation",
|
|
"short_flag": null,
|
|
"type": "enum",
|
|
"description": "Container isolation technology",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": [
|
|
"default",
|
|
"process",
|
|
"hyperv"
|
|
],
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Label",
|
|
"flag": "--label",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Set metadata for an image",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": [
|
|
"version=1.0",
|
|
"maintainer=admin@example.com"
|
|
],
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Memory",
|
|
"flag": "--memory",
|
|
"short_flag": "-m",
|
|
"type": "string",
|
|
"description": "Memory limit",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "Memory",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Memory Swap",
|
|
"flag": "--memory-swap",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Swap limit equal to memory plus swap (-1 for unlimited)",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "Memory",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Network",
|
|
"flag": "--network",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Set the networking mode for RUN instructions",
|
|
"required": false,
|
|
"default": "default",
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": [
|
|
"host",
|
|
"none",
|
|
"default"
|
|
],
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "No Cache",
|
|
"flag": "--no-cache",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Do not use cache when building the image",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Platform",
|
|
"flag": "--platform",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Set platform if server is multi-platform capable",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": [
|
|
"linux/amd64",
|
|
"linux/arm64"
|
|
],
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Pull",
|
|
"flag": "--pull",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Always attempt to pull a newer version of the image",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Quiet",
|
|
"flag": "--quiet",
|
|
"short_flag": "-q",
|
|
"type": "boolean",
|
|
"description": "Suppress the build output and print image ID on success",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Remove",
|
|
"flag": "--rm",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Remove intermediate containers after a successful build",
|
|
"required": false,
|
|
"default": true,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Security Opt",
|
|
"flag": "--security-opt",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Security options",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "Security",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "SHM Size",
|
|
"flag": "--shm-size",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Size of /dev/shm",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "Memory",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Squash",
|
|
"flag": "--squash",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Squash newly built layers into a single new layer",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Tag",
|
|
"flag": "--tag",
|
|
"short_flag": "-t",
|
|
"type": "string",
|
|
"description": "Name and optionally a tag (name:tag)",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": [
|
|
"myimage:latest",
|
|
"registry.example.com/myimage:v1.0"
|
|
],
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Target",
|
|
"flag": "--target",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Set the target build stage to build",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Ulimit",
|
|
"flag": "--ulimit",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Ulimit options",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "Resources",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Path",
|
|
"flag": "PATH",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Build context path or URL",
|
|
"required": true,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": true,
|
|
"validation": null,
|
|
"examples": [
|
|
".",
|
|
"/path/to/context",
|
|
"https://github.com/user/repo.git"
|
|
],
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "image ls",
|
|
"description": "List images",
|
|
"arguments": [
|
|
{
|
|
"name": "All",
|
|
"flag": "--all",
|
|
"short_flag": "-a",
|
|
"type": "boolean",
|
|
"description": "Show all images (default hides intermediate images)",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Digests",
|
|
"flag": "--digests",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Show digests",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Filter",
|
|
"flag": "--filter",
|
|
"short_flag": "-f",
|
|
"type": "string",
|
|
"description": "Filter output based on conditions provided",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": [
|
|
"dangling=true",
|
|
"reference=myimage*",
|
|
"before=myimage:latest"
|
|
],
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Format",
|
|
"flag": "--format",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Format output using a custom template",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": [
|
|
"table {{.Repository}}\\t{{.Tag}}\\t{{.Size}}"
|
|
],
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "No Trunc",
|
|
"flag": "--no-trunc",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Don't truncate output",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Quiet",
|
|
"flag": "--quiet",
|
|
"short_flag": "-q",
|
|
"type": "boolean",
|
|
"description": "Only show image IDs",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "image pull",
|
|
"description": "Download an image from a registry",
|
|
"arguments": [
|
|
{
|
|
"name": "All Tags",
|
|
"flag": "--all-tags",
|
|
"short_flag": "-a",
|
|
"type": "boolean",
|
|
"description": "Download all tagged images in the repository",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Disable Content Trust",
|
|
"flag": "--disable-content-trust",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Skip image verification",
|
|
"required": false,
|
|
"default": true,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Platform",
|
|
"flag": "--platform",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Set platform if server is multi-platform capable",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": [
|
|
"linux/amd64",
|
|
"linux/arm64"
|
|
],
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Quiet",
|
|
"flag": "--quiet",
|
|
"short_flag": "-q",
|
|
"type": "boolean",
|
|
"description": "Suppress verbose output",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Image",
|
|
"flag": "IMAGE",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Image name[:tag|@digest]",
|
|
"required": true,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": true,
|
|
"validation": null,
|
|
"examples": [
|
|
"ubuntu:22.04",
|
|
"nginx:latest",
|
|
"registry.example.com/myimage"
|
|
],
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "image push",
|
|
"description": "Upload an image to a registry",
|
|
"arguments": [
|
|
{
|
|
"name": "All Tags",
|
|
"flag": "--all-tags",
|
|
"short_flag": "-a",
|
|
"type": "boolean",
|
|
"description": "Push all tags of an image to the repository",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Disable Content Trust",
|
|
"flag": "--disable-content-trust",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Skip image signing",
|
|
"required": false,
|
|
"default": true,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Quiet",
|
|
"flag": "--quiet",
|
|
"short_flag": "-q",
|
|
"type": "boolean",
|
|
"description": "Suppress verbose output",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Image",
|
|
"flag": "IMAGE",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Image name[:tag]",
|
|
"required": true,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": true,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "image rm",
|
|
"description": "Remove one or more images",
|
|
"arguments": [
|
|
{
|
|
"name": "Force",
|
|
"flag": "--force",
|
|
"short_flag": "-f",
|
|
"type": "boolean",
|
|
"description": "Force removal of the image",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "No Prune",
|
|
"flag": "--no-prune",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Do not delete untagged parents",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Image",
|
|
"flag": "IMAGE",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Image name or ID",
|
|
"required": true,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": true,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "image tag",
|
|
"description": "Create a tag TARGET_IMAGE that refers to SOURCE_IMAGE",
|
|
"arguments": [
|
|
{
|
|
"name": "Source",
|
|
"flag": "SOURCE_IMAGE",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Source image name[:tag]",
|
|
"required": true,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": true,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "image inspect",
|
|
"description": "Display detailed information on one or more images",
|
|
"arguments": [
|
|
{
|
|
"name": "Format",
|
|
"flag": "--format",
|
|
"short_flag": "-f",
|
|
"type": "string",
|
|
"description": "Format output using a custom template",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": [
|
|
"{{.Id}}",
|
|
"{{.Config.Env}}",
|
|
"{{json .}}"
|
|
],
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Image",
|
|
"flag": "IMAGE",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Image name or ID",
|
|
"required": true,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": true,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "image history",
|
|
"description": "Show the history of an image",
|
|
"arguments": [
|
|
{
|
|
"name": "Format",
|
|
"flag": "--format",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Format output using a custom template",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": [
|
|
"table {{.CreatedBy}}\\t{{.Size}}"
|
|
],
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Human",
|
|
"flag": "--human",
|
|
"short_flag": "-H",
|
|
"type": "boolean",
|
|
"description": "Print sizes and dates in human readable format",
|
|
"required": false,
|
|
"default": true,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "No Trunc",
|
|
"flag": "--no-trunc",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Don't truncate output",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Quiet",
|
|
"flag": "--quiet",
|
|
"short_flag": "-q",
|
|
"type": "boolean",
|
|
"description": "Only show image IDs",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Image",
|
|
"flag": "IMAGE",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Image name or ID",
|
|
"required": true,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": true,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "image save",
|
|
"description": "Save one or more images to a tar archive",
|
|
"arguments": [
|
|
{
|
|
"name": "Output",
|
|
"flag": "--output",
|
|
"short_flag": "-o",
|
|
"type": "string",
|
|
"description": "Write to a file, instead of STDOUT",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Image",
|
|
"flag": "IMAGE",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Image name or ID",
|
|
"required": true,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": true,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "image load",
|
|
"description": "Load an image from a tar archive or STDIN",
|
|
"arguments": [
|
|
{
|
|
"name": "Input",
|
|
"flag": "--input",
|
|
"short_flag": "-i",
|
|
"type": "file",
|
|
"description": "Read from tar archive file, instead of STDIN",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Quiet",
|
|
"flag": "--quiet",
|
|
"short_flag": "-q",
|
|
"type": "boolean",
|
|
"description": "Suppress the load output",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "image import",
|
|
"description": "Import the contents from a tarball to create a filesystem image",
|
|
"arguments": [
|
|
{
|
|
"name": "Change",
|
|
"flag": "--change",
|
|
"short_flag": "-c",
|
|
"type": "string",
|
|
"description": "Apply Dockerfile instruction to the created image",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Message",
|
|
"flag": "--message",
|
|
"short_flag": "-m",
|
|
"type": "string",
|
|
"description": "Set commit message for imported image",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Platform",
|
|
"flag": "--platform",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Set platform if server is multi-platform capable",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "File",
|
|
"flag": "FILE",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "File or URL to import from (- for stdin)",
|
|
"required": true,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": true,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "image prune",
|
|
"description": "Remove unused images",
|
|
"arguments": [
|
|
{
|
|
"name": "All",
|
|
"flag": "--all",
|
|
"short_flag": "-a",
|
|
"type": "boolean",
|
|
"description": "Remove all unused images, not just dangling ones",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Filter",
|
|
"flag": "--filter",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Provide filter values (e.g. until=24h)",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": [
|
|
"until=24h",
|
|
"label=deprecated"
|
|
],
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Force",
|
|
"flag": "--force",
|
|
"short_flag": "-f",
|
|
"type": "boolean",
|
|
"description": "Do not prompt for confirmation",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "network create",
|
|
"description": "Create a network",
|
|
"arguments": [
|
|
{
|
|
"name": "Attachable",
|
|
"flag": "--attachable",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Enable manual container attachment",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Aux Address",
|
|
"flag": "--aux-address",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Auxiliary IPv4 or IPv6 addresses used by Network driver",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Config From",
|
|
"flag": "--config-from",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "The network from which to copy the configuration",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Config Only",
|
|
"flag": "--config-only",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Create a configuration only network",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Driver",
|
|
"flag": "--driver",
|
|
"short_flag": "-d",
|
|
"type": "enum",
|
|
"description": "Driver to manage the Network",
|
|
"required": false,
|
|
"default": "bridge",
|
|
"choices": [
|
|
"bridge",
|
|
"host",
|
|
"overlay",
|
|
"macvlan",
|
|
"none",
|
|
"ipvlan"
|
|
],
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Gateway",
|
|
"flag": "--gateway",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "IPv4 or IPv6 Gateway for the master subnet",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": [
|
|
"172.20.0.1"
|
|
],
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Ingress",
|
|
"flag": "--ingress",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Create swarm routing-mesh network",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Internal",
|
|
"flag": "--internal",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Restrict external access to the network",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "IP Range",
|
|
"flag": "--ip-range",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Allocate container ip from a sub-range",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": [
|
|
"172.20.10.0/24"
|
|
],
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "IPAM Driver",
|
|
"flag": "--ipam-driver",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "IP Address Management Driver",
|
|
"required": false,
|
|
"default": "default",
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "IPAM Opt",
|
|
"flag": "--ipam-opt",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Set IPAM driver specific options",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "IPv6",
|
|
"flag": "--ipv6",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Enable or disable IPv6 networking",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Label",
|
|
"flag": "--label",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Set metadata on a network",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Opt",
|
|
"flag": "--opt",
|
|
"short_flag": "-o",
|
|
"type": "string",
|
|
"description": "Set driver specific options",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Scope",
|
|
"flag": "--scope",
|
|
"short_flag": null,
|
|
"type": "enum",
|
|
"description": "Control the network's scope",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": [
|
|
"local",
|
|
"swarm"
|
|
],
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Subnet",
|
|
"flag": "--subnet",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Subnet in CIDR format that represents a network segment",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": [
|
|
"172.20.0.0/16",
|
|
"10.10.0.0/24"
|
|
],
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Network Name",
|
|
"flag": "NETWORK",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Network name",
|
|
"required": true,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": true,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "network ls",
|
|
"description": "List networks",
|
|
"arguments": [
|
|
{
|
|
"name": "Filter",
|
|
"flag": "--filter",
|
|
"short_flag": "-f",
|
|
"type": "string",
|
|
"description": "Provide filter values",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": [
|
|
"driver=bridge",
|
|
"name=mynetwork",
|
|
"type=custom"
|
|
],
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Format",
|
|
"flag": "--format",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Format output using a custom template",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "No Trunc",
|
|
"flag": "--no-trunc",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Do not truncate the output",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Quiet",
|
|
"flag": "--quiet",
|
|
"short_flag": "-q",
|
|
"type": "boolean",
|
|
"description": "Only display network IDs",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "network rm",
|
|
"description": "Remove one or more networks",
|
|
"arguments": [
|
|
{
|
|
"name": "Force",
|
|
"flag": "--force",
|
|
"short_flag": "-f",
|
|
"type": "boolean",
|
|
"description": "Do not error if the network does not exist",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Network",
|
|
"flag": "NETWORK",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Network name or ID",
|
|
"required": true,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": true,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "network inspect",
|
|
"description": "Display detailed information on one or more networks",
|
|
"arguments": [
|
|
{
|
|
"name": "Format",
|
|
"flag": "--format",
|
|
"short_flag": "-f",
|
|
"type": "string",
|
|
"description": "Format output using a custom template",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Verbose",
|
|
"flag": "--verbose",
|
|
"short_flag": "-v",
|
|
"type": "boolean",
|
|
"description": "Show detailed information",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Network",
|
|
"flag": "NETWORK",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Network name or ID",
|
|
"required": true,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": true,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "network connect",
|
|
"description": "Connect a container to a network",
|
|
"arguments": [
|
|
{
|
|
"name": "Alias",
|
|
"flag": "--alias",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Add network-scoped alias for the container",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Driver Opt",
|
|
"flag": "--driver-opt",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Driver options for the network",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "IP",
|
|
"flag": "--ip",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "IPv4 address",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "IPv6",
|
|
"flag": "--ip6",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "IPv6 address",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Link",
|
|
"flag": "--link",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Add link to another container",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Network",
|
|
"flag": "NETWORK",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Network name or ID",
|
|
"required": true,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": true,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "network disconnect",
|
|
"description": "Disconnect a container from a network",
|
|
"arguments": [
|
|
{
|
|
"name": "Force",
|
|
"flag": "--force",
|
|
"short_flag": "-f",
|
|
"type": "boolean",
|
|
"description": "Force the container to disconnect from a network",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Network",
|
|
"flag": "NETWORK",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Network name or ID",
|
|
"required": true,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": true,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "network prune",
|
|
"description": "Remove all unused networks",
|
|
"arguments": [
|
|
{
|
|
"name": "Filter",
|
|
"flag": "--filter",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Provide filter values",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": [
|
|
"until=24h"
|
|
],
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Force",
|
|
"flag": "--force",
|
|
"short_flag": "-f",
|
|
"type": "boolean",
|
|
"description": "Do not prompt for confirmation",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "volume create",
|
|
"description": "Create a volume",
|
|
"arguments": [
|
|
{
|
|
"name": "Driver",
|
|
"flag": "--driver",
|
|
"short_flag": "-d",
|
|
"type": "string",
|
|
"description": "Specify volume driver name",
|
|
"required": false,
|
|
"default": "local",
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Label",
|
|
"flag": "--label",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Set metadata for a volume",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Name",
|
|
"flag": "--name",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Specify volume name",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Opt",
|
|
"flag": "--opt",
|
|
"short_flag": "-o",
|
|
"type": "string",
|
|
"description": "Set driver specific options",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "volume ls",
|
|
"description": "List volumes",
|
|
"arguments": [
|
|
{
|
|
"name": "Cluster",
|
|
"flag": "--cluster",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Display only cluster volumes, and use cluster volume list formatting",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Filter",
|
|
"flag": "--filter",
|
|
"short_flag": "-f",
|
|
"type": "string",
|
|
"description": "Provide filter values",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": [
|
|
"dangling=true",
|
|
"driver=local",
|
|
"name=myvolume"
|
|
],
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Format",
|
|
"flag": "--format",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Format output using a custom template",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Quiet",
|
|
"flag": "--quiet",
|
|
"short_flag": "-q",
|
|
"type": "boolean",
|
|
"description": "Only display volume names",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "volume rm",
|
|
"description": "Remove one or more volumes",
|
|
"arguments": [
|
|
{
|
|
"name": "Force",
|
|
"flag": "--force",
|
|
"short_flag": "-f",
|
|
"type": "boolean",
|
|
"description": "Force the removal of one or more volumes",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": true
|
|
},
|
|
{
|
|
"name": "Volume",
|
|
"flag": "VOLUME",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Volume name",
|
|
"required": true,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": true,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "volume inspect",
|
|
"description": "Display detailed information on one or more volumes",
|
|
"arguments": [
|
|
{
|
|
"name": "Format",
|
|
"flag": "--format",
|
|
"short_flag": "-f",
|
|
"type": "string",
|
|
"description": "Format output using a custom template",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Volume",
|
|
"flag": "VOLUME",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Volume name",
|
|
"required": true,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": true,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "volume prune",
|
|
"description": "Remove unused local volumes",
|
|
"arguments": [
|
|
{
|
|
"name": "All",
|
|
"flag": "--all",
|
|
"short_flag": "-a",
|
|
"type": "boolean",
|
|
"description": "Remove all unused volumes, not just anonymous ones",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Filter",
|
|
"flag": "--filter",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Provide filter values",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": [
|
|
"label=unused"
|
|
],
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Force",
|
|
"flag": "--force",
|
|
"short_flag": "-f",
|
|
"type": "boolean",
|
|
"description": "Do not prompt for confirmation",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "system df",
|
|
"description": "Show docker disk usage",
|
|
"arguments": [
|
|
{
|
|
"name": "Format",
|
|
"flag": "--format",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Format output using a custom template",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Verbose",
|
|
"flag": "--verbose",
|
|
"short_flag": "-v",
|
|
"type": "boolean",
|
|
"description": "Show detailed information on space usage",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "system prune",
|
|
"description": "Remove unused data",
|
|
"arguments": [
|
|
{
|
|
"name": "All",
|
|
"flag": "--all",
|
|
"short_flag": "-a",
|
|
"type": "boolean",
|
|
"description": "Remove all unused images not just dangling ones",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Filter",
|
|
"flag": "--filter",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Provide filter values",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": [
|
|
"until=24h",
|
|
"label=deprecated"
|
|
],
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Force",
|
|
"flag": "--force",
|
|
"short_flag": "-f",
|
|
"type": "boolean",
|
|
"description": "Do not prompt for confirmation",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Volumes",
|
|
"flag": "--volumes",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Prune anonymous volumes",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "system events",
|
|
"description": "Get real time events from the server",
|
|
"arguments": [
|
|
{
|
|
"name": "Filter",
|
|
"flag": "--filter",
|
|
"short_flag": "-f",
|
|
"type": "string",
|
|
"description": "Filter output based on conditions provided",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": [
|
|
"event=start",
|
|
"type=container",
|
|
"container=mycontainer"
|
|
],
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Format",
|
|
"flag": "--format",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Format output using a custom template",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Since",
|
|
"flag": "--since",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Show all events created since timestamp",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": [
|
|
"2023-01-01T00:00:00Z",
|
|
"10m"
|
|
],
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Until",
|
|
"flag": "--until",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Stream events until this timestamp",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": [
|
|
"2023-12-31T23:59:59Z"
|
|
],
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "system info",
|
|
"description": "Display system-wide information",
|
|
"arguments": [
|
|
{
|
|
"name": "Format",
|
|
"flag": "--format",
|
|
"short_flag": "-f",
|
|
"type": "string",
|
|
"description": "Format output using a custom template",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "login",
|
|
"description": "Authenticate to a registry",
|
|
"arguments": [
|
|
{
|
|
"name": "Password",
|
|
"flag": "--password",
|
|
"short_flag": "-p",
|
|
"type": "password",
|
|
"description": "Password",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Password STDIN",
|
|
"flag": "--password-stdin",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Take the password from stdin",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Username",
|
|
"flag": "--username",
|
|
"short_flag": "-u",
|
|
"type": "string",
|
|
"description": "Username",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"flag": "SERVER",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Registry server URL",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": true,
|
|
"validation": null,
|
|
"examples": [
|
|
"https://index.docker.io/v1/",
|
|
"registry.example.com"
|
|
],
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "logout",
|
|
"description": "Log out from a registry",
|
|
"arguments": [
|
|
{
|
|
"name": "Server",
|
|
"flag": "SERVER",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Registry server URL",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": true,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "search",
|
|
"description": "Search Docker Hub for images",
|
|
"arguments": [
|
|
{
|
|
"name": "Filter",
|
|
"flag": "--filter",
|
|
"short_flag": "-f",
|
|
"type": "string",
|
|
"description": "Filter output based on conditions provided",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": [
|
|
"is-official=true",
|
|
"stars=50",
|
|
"is-automated=false"
|
|
],
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Format",
|
|
"flag": "--format",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Format output using a custom template",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Limit",
|
|
"flag": "--limit",
|
|
"short_flag": null,
|
|
"type": "integer",
|
|
"description": "Max number of search results",
|
|
"required": false,
|
|
"default": 25,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": 1,
|
|
"max": 100,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "No Trunc",
|
|
"flag": "--no-trunc",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Don't truncate output",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Term",
|
|
"flag": "TERM",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Search term",
|
|
"required": true,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": true,
|
|
"validation": null,
|
|
"examples": [
|
|
"nginx",
|
|
"ubuntu",
|
|
"postgres"
|
|
],
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "inspect",
|
|
"description": "Return low-level information on Docker objects",
|
|
"arguments": [
|
|
{
|
|
"name": "Format",
|
|
"flag": "--format",
|
|
"short_flag": "-f",
|
|
"type": "string",
|
|
"description": "Format output using a custom template",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": [
|
|
"{{.Id}}",
|
|
"{{json .}}"
|
|
],
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Size",
|
|
"flag": "--size",
|
|
"short_flag": "-s",
|
|
"type": "boolean",
|
|
"description": "Display total file sizes if the type is container",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Type",
|
|
"flag": "--type",
|
|
"short_flag": null,
|
|
"type": "enum",
|
|
"description": "Return JSON for specified type",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": [
|
|
"container",
|
|
"image",
|
|
"network",
|
|
"volume",
|
|
"node",
|
|
"service",
|
|
"task",
|
|
"plugin",
|
|
"secret"
|
|
],
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Object",
|
|
"flag": "OBJECT",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Name or ID of Docker object",
|
|
"required": true,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": true,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "version",
|
|
"description": "Show the Docker version information",
|
|
"arguments": [
|
|
{
|
|
"name": "Format",
|
|
"flag": "--format",
|
|
"short_flag": "-f",
|
|
"type": "string",
|
|
"description": "Format output using a custom template",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": [
|
|
"{{.Server.Version}}",
|
|
"{{json .}}"
|
|
],
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"arguments": [
|
|
{
|
|
"name": "Config",
|
|
"flag": "--config",
|
|
"short_flag": null,
|
|
"type": "directory",
|
|
"description": "Location of client config files",
|
|
"required": false,
|
|
"default": "/root/.docker",
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Context",
|
|
"flag": "--context",
|
|
"short_flag": "-c",
|
|
"type": "string",
|
|
"description": "Name of the context to use to connect to the daemon",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Debug",
|
|
"flag": "--debug",
|
|
"short_flag": "-D",
|
|
"type": "boolean",
|
|
"description": "Enable debug mode",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Host",
|
|
"flag": "--host",
|
|
"short_flag": "-H",
|
|
"type": "string",
|
|
"description": "Daemon socket to connect to",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": [
|
|
"unix:///var/run/docker.sock",
|
|
"tcp://192.168.1.1:2376",
|
|
"ssh://user@host"
|
|
],
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Log Level",
|
|
"flag": "--log-level",
|
|
"short_flag": "-l",
|
|
"type": "enum",
|
|
"description": "Set the logging level",
|
|
"required": false,
|
|
"default": "info",
|
|
"choices": [
|
|
"debug",
|
|
"info",
|
|
"warn",
|
|
"error",
|
|
"fatal"
|
|
],
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "TLS",
|
|
"flag": "--tls",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Use TLS; implied by --tlsverify",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "TLS",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "TLS CA Cert",
|
|
"flag": "--tlscacert",
|
|
"short_flag": null,
|
|
"type": "file",
|
|
"description": "Trust certs signed only by this CA",
|
|
"required": false,
|
|
"default": "/root/.docker/ca.pem",
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "TLS",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "TLS Cert",
|
|
"flag": "--tlscert",
|
|
"short_flag": null,
|
|
"type": "file",
|
|
"description": "Path to TLS certificate file",
|
|
"required": false,
|
|
"default": "/root/.docker/cert.pem",
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "TLS",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "TLS Key",
|
|
"flag": "--tlskey",
|
|
"short_flag": null,
|
|
"type": "file",
|
|
"description": "Path to TLS key file",
|
|
"required": false,
|
|
"default": "/root/.docker/key.pem",
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "TLS",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "TLS Verify",
|
|
"flag": "--tlsverify",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Use TLS and verify the remote",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "TLS",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
}
|
|
],
|
|
"_coverage": "full"
|
|
} |