Files

3760 lines
104 KiB
JSON

{
"_format": "scaffold_schema",
"tool": "Docker Compose",
"binary": "docker",
"description": "Define and run multi-container applications with Docker.",
"elevated": null,
"subcommands": [
{
"name": "compose up",
"description": "Create and start containers",
"arguments": [
{
"name": "Abort on Container Exit",
"flag": "--abort-on-container-exit",
"short_flag": null,
"type": "boolean",
"description": "Stops all containers if any container was stopped. Incompatible with -d",
"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": "Abort on Container Failure",
"flag": "--abort-on-container-failure",
"short_flag": null,
"type": "boolean",
"description": "Stops all containers if any container exited with failure. Incompatible with -d",
"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": "Always Recreate Deps",
"flag": "--always-recreate-deps",
"short_flag": null,
"type": "boolean",
"description": "Recreate dependent containers. Incompatible with --no-recreate",
"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": "Attach",
"flag": "--attach",
"short_flag": null,
"type": "string",
"description": "Restrict attaching to the specified services. Incompatible with --attach-dependencies",
"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": "Attach Dependencies",
"flag": "--attach-dependencies",
"short_flag": null,
"type": "boolean",
"description": "Automatically attach to log output of dependent services",
"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": "Build",
"flag": "--build",
"short_flag": null,
"type": "boolean",
"description": "Build images before starting 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": "Detach",
"flag": "--detach",
"short_flag": "-d",
"type": "boolean",
"description": "Detached mode: Run containers 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": "Exit Code From",
"flag": "--exit-code-from",
"short_flag": null,
"type": "string",
"description": "Return the exit code of the selected service container. Implies --abort-on-container-exit",
"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 Recreate",
"flag": "--force-recreate",
"short_flag": null,
"type": "boolean",
"description": "Recreate containers even if their configuration and image haven't changed",
"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": "Menu",
"flag": "--menu",
"short_flag": null,
"type": "boolean",
"description": "Enable interactive shortcuts when running attached. Incompatible with --detach",
"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 Attach",
"flag": "--no-attach",
"short_flag": null,
"type": "string",
"description": "Do not attach (stream logs) to the specified services",
"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 Build",
"flag": "--no-build",
"short_flag": null,
"type": "boolean",
"description": "Don't build an image, even if it's missing",
"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 Color",
"flag": "--no-color",
"short_flag": null,
"type": "boolean",
"description": "Produce monochrome 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": "No Deps",
"flag": "--no-deps",
"short_flag": null,
"type": "boolean",
"description": "Don't start linked services",
"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 Log Prefix",
"flag": "--no-log-prefix",
"short_flag": null,
"type": "boolean",
"description": "Don't print prefix in 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": "No Recreate",
"flag": "--no-recreate",
"short_flag": null,
"type": "boolean",
"description": "If containers already exist, don't recreate them. Incompatible with --force-recreate",
"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 Start",
"flag": "--no-start",
"short_flag": null,
"type": "boolean",
"description": "Don't start the services after creating them",
"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": "Pull",
"flag": "--pull",
"short_flag": null,
"type": "enum",
"description": "Pull image before running",
"required": false,
"default": "policy",
"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 Pull",
"flag": "--quiet-pull",
"short_flag": null,
"type": "boolean",
"description": "Pull without printing progress 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": "Remove Orphans",
"flag": "--remove-orphans",
"short_flag": null,
"type": "boolean",
"description": "Remove containers for services not defined in the Compose file",
"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": "Renew Anon Volumes",
"flag": "--renew-anon-volumes",
"short_flag": "-V",
"type": "boolean",
"description": "Recreate anonymous volumes instead of retrieving data from the previous 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": "Scale",
"flag": "--scale",
"short_flag": null,
"type": "string",
"description": "Scale SERVICE to NUM instances. Overrides the scale setting in the Compose file",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "space",
"positional": false,
"validation": null,
"examples": [
"web=3",
"worker=5"
],
"display_group": null,
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "Timeout",
"flag": "--timeout",
"short_flag": "-t",
"type": "integer",
"description": "Use this timeout in seconds for container shutdown",
"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": "Timestamps",
"flag": "--timestamps",
"short_flag": null,
"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": "Wait",
"flag": "--wait",
"short_flag": null,
"type": "boolean",
"description": "Wait for services to be running|healthy. Implies detached 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": "Wait Timeout",
"flag": "--wait-timeout",
"short_flag": null,
"type": "integer",
"description": "Maximum duration to wait for the project to be running|healthy",
"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": "Watch",
"flag": "--watch",
"short_flag": null,
"type": "boolean",
"description": "Watch source code and rebuild/refresh containers when files are updated",
"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": "compose down",
"description": "Stop and remove containers, networks",
"arguments": [
{
"name": "Remove Images",
"flag": "--rmi",
"short_flag": null,
"type": "enum",
"description": "Remove images used by services",
"required": false,
"default": null,
"choices": [
"all",
"local"
],
"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 Orphans",
"flag": "--remove-orphans",
"short_flag": null,
"type": "boolean",
"description": "Remove containers for services not defined in the Compose file",
"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": "Timeout",
"flag": "--timeout",
"short_flag": "-t",
"type": "integer",
"description": "Specify a shutdown timeout in seconds",
"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": "Volumes",
"flag": "--volumes",
"short_flag": "-v",
"type": "boolean",
"description": "Remove named volumes declared in the volumes section of the Compose file",
"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": "compose build",
"description": "Build or rebuild services",
"arguments": [
{
"name": "Build Arg",
"flag": "--build-arg",
"short_flag": null,
"type": "string",
"description": "Set build-time variables for services",
"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": "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": "Not supported by BuildKit",
"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": "Not supported by BuildKit",
"dangerous": false
},
{
"name": "Memory",
"flag": "--memory",
"short_flag": "-m",
"type": "string",
"description": "Set memory limit for the build container. Not supported by BuildKit",
"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": "Not supported by BuildKit",
"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": "No Remove",
"flag": "--no-rm",
"short_flag": null,
"type": "boolean",
"description": "Do not remove intermediate containers after a successful build",
"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": "Not supported by BuildKit",
"dangerous": false
},
{
"name": "Parallel",
"flag": "--parallel",
"short_flag": null,
"type": "boolean",
"description": "Build images in parallel. DEPRECATED",
"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": "Progress",
"flag": "--progress",
"short_flag": null,
"type": "enum",
"description": "Set type of progress output",
"required": false,
"default": "auto",
"choices": [
"auto",
"tty",
"plain",
"quiet",
"rawjson"
],
"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": "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": "Push",
"flag": "--push",
"short_flag": null,
"type": "boolean",
"description": "Push service 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": "Quiet",
"flag": "--quiet",
"short_flag": "-q",
"type": "boolean",
"description": "Don't print anything to STDOUT",
"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": "SSH",
"flag": "--ssh",
"short_flag": null,
"type": "string",
"description": "Set SSH authentications used when building service images",
"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": "With Dependencies",
"flag": "--with-dependencies",
"short_flag": null,
"type": "boolean",
"description": "Also build dependencies (transitively)",
"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": "compose run",
"description": "Run a one-off command on a service",
"arguments": [
{
"name": "Build",
"flag": "--build",
"short_flag": null,
"type": "boolean",
"description": "Build image before starting 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": "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": null,
"display_group": null,
"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": null,
"display_group": null,
"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": "Entrypoint",
"flag": "--entrypoint",
"short_flag": null,
"type": "string",
"description": "Override the 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": 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": 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": "Label",
"flag": "--label",
"short_flag": "-l",
"type": "string",
"description": "Add or override a label",
"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": "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": "No Deps",
"flag": "--no-deps",
"short_flag": null,
"type": "boolean",
"description": "Don't start linked services",
"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 TTY",
"flag": "--no-TTY",
"short_flag": "-T",
"type": "boolean",
"description": "Disable pseudo-TTY allocation. By default docker compose run allocates a 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": "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": null,
"display_group": null,
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "Quiet Pull",
"flag": "--quiet-pull",
"short_flag": null,
"type": "boolean",
"description": "Pull without printing progress 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": "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": "Remove Orphans",
"flag": "--remove-orphans",
"short_flag": null,
"type": "boolean",
"description": "Remove containers for services not defined in the Compose file",
"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": "Service Ports",
"flag": "--service-ports",
"short_flag": null,
"type": "boolean",
"description": "Run command with all service's ports enabled and mapped to the host",
"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": "Use Aliases",
"flag": "--use-aliases",
"short_flag": null,
"type": "boolean",
"description": "Use the service's network useAliases in the network(s) the container connects to",
"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": "Run as specified 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": "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": 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": "Service",
"flag": "SERVICE",
"short_flag": null,
"type": "string",
"description": "Service name 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": "compose 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": "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": "Index",
"flag": "--index",
"short_flag": null,
"type": "integer",
"description": "Index of the container if service has multiple replicas",
"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": "Interactive",
"flag": "--interactive",
"short_flag": "-i",
"type": "boolean",
"description": "Keep STDIN open even if not attached",
"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 TTY",
"flag": "--no-TTY",
"short_flag": "-T",
"type": "boolean",
"description": "Disable pseudo-TTY allocation. By default docker compose exec allocates a 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": "Privileged",
"flag": "--privileged",
"short_flag": null,
"type": "boolean",
"description": "Give extended privileges to the process",
"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": "User",
"flag": "--user",
"short_flag": "-u",
"type": "string",
"description": "Run the command as this user",
"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": "Service",
"flag": "SERVICE",
"short_flag": null,
"type": "string",
"description": "Service 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": "compose logs",
"description": "View output from containers",
"arguments": [
{
"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": "Index",
"flag": "--index",
"short_flag": null,
"type": "integer",
"description": "Index of the container if service has multiple replicas",
"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 Color",
"flag": "--no-color",
"short_flag": null,
"type": "boolean",
"description": "Produce monochrome 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": "No Log Prefix",
"flag": "--no-log-prefix",
"short_flag": null,
"type": "boolean",
"description": "Don't print prefix in 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": "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": [
"10m",
"2023-01-01T00:00:00Z"
],
"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"
],
"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": null,
"display_group": null,
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
}
]
},
{
"name": "compose ps",
"description": "List containers",
"arguments": [
{
"name": "All",
"flag": "--all",
"short_flag": "-a",
"type": "boolean",
"description": "Show all stopped 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": "Filter",
"flag": "--filter",
"short_flag": null,
"type": "string",
"description": "Filter services by a property",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "space",
"positional": false,
"validation": null,
"examples": [
"status=running",
"status=paused"
],
"display_group": null,
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "Format",
"flag": "--format",
"short_flag": null,
"type": "enum",
"description": "Format output",
"required": false,
"default": "table",
"choices": [
"table",
"json"
],
"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": "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": "Orphans",
"flag": "--orphans",
"short_flag": null,
"type": "boolean",
"description": "Include orphaned services",
"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": "Only display 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": "Services",
"flag": "--services",
"short_flag": null,
"type": "boolean",
"description": "Display services",
"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": "Status",
"flag": "--status",
"short_flag": null,
"type": "enum",
"description": "Filter services by status",
"required": false,
"default": null,
"choices": [
"paused",
"restarting",
"removing",
"running",
"dead",
"created",
"exited"
],
"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": "compose pull",
"description": "Pull service images",
"arguments": [
{
"name": "Ignore Buildable",
"flag": "--ignore-buildable",
"short_flag": null,
"type": "boolean",
"description": "Ignore images that can be built",
"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": "Ignore Pull Failures",
"flag": "--ignore-pull-failures",
"short_flag": null,
"type": "boolean",
"description": "Pull what it can and ignore images with pull failures",
"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": "Include Deps",
"flag": "--include-deps",
"short_flag": null,
"type": "boolean",
"description": "Also pull services declared as dependencies",
"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": "Policy",
"flag": "--policy",
"short_flag": null,
"type": "enum",
"description": "Apply pull policy",
"required": false,
"default": null,
"choices": [
"missing",
"always"
],
"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": "Pull without printing progress 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": "compose push",
"description": "Push service images",
"arguments": [
{
"name": "Ignore Push Failures",
"flag": "--ignore-push-failures",
"short_flag": null,
"type": "boolean",
"description": "Push what it can and ignore images with push failures",
"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": "Include Deps",
"flag": "--include-deps",
"short_flag": null,
"type": "boolean",
"description": "Also push images of services declared as dependencies",
"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": "Push without printing progress 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": "compose stop",
"description": "Stop services",
"arguments": [
{
"name": "Timeout",
"flag": "--timeout",
"short_flag": "-t",
"type": "integer",
"description": "Specify a shutdown timeout in seconds",
"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": "compose start",
"description": "Start services",
"arguments": []
},
{
"name": "compose restart",
"description": "Restart service containers",
"arguments": [
{
"name": "No Deps",
"flag": "--no-deps",
"short_flag": null,
"type": "boolean",
"description": "Don't restart dependent services",
"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": "Timeout",
"flag": "--timeout",
"short_flag": "-t",
"type": "integer",
"description": "Specify a shutdown timeout in seconds",
"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": "compose kill",
"description": "Force stop service containers",
"arguments": [
{
"name": "Remove Orphans",
"flag": "--remove-orphans",
"short_flag": null,
"type": "boolean",
"description": "Remove containers for services not defined in the Compose file",
"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": "Signal",
"flag": "--signal",
"short_flag": "-s",
"type": "string",
"description": "SIGNAL to send to the container",
"required": false,
"default": "SIGKILL",
"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": "compose pause",
"description": "Pause services",
"arguments": []
},
{
"name": "compose unpause",
"description": "Unpause services",
"arguments": []
},
{
"name": "compose rm",
"description": "Remove stopped service containers",
"arguments": [
{
"name": "Force",
"flag": "--force",
"short_flag": "-f",
"type": "boolean",
"description": "Don't ask to confirm removal",
"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": "Stop",
"flag": "--stop",
"short_flag": "-s",
"type": "boolean",
"description": "Stop the containers, if required, before removing",
"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 any anonymous volumes attached to 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": "compose config",
"description": "Parse, resolve and render compose file in canonical format",
"arguments": [
{
"name": "Format",
"flag": "--format",
"short_flag": null,
"type": "enum",
"description": "Format the output",
"required": false,
"default": "yaml",
"choices": [
"yaml",
"json"
],
"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": "Hash",
"flag": "--hash",
"short_flag": null,
"type": "string",
"description": "Print the service config hash",
"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": "Images",
"flag": "--images",
"short_flag": null,
"type": "boolean",
"description": "Print the image names, one per line",
"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 Consistency",
"flag": "--no-consistency",
"short_flag": null,
"type": "boolean",
"description": "Don't check model consistency",
"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 Interpolate",
"flag": "--no-interpolate",
"short_flag": null,
"type": "boolean",
"description": "Don't interpolate environment variables",
"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 Normalize",
"flag": "--no-normalize",
"short_flag": null,
"type": "boolean",
"description": "Don't normalize compose model",
"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 Path Resolution",
"flag": "--no-path-resolution",
"short_flag": null,
"type": "boolean",
"description": "Don't resolve file paths",
"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": "Output",
"flag": "--output",
"short_flag": "-o",
"type": "string",
"description": "Save to file (default to 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": "Profiles",
"flag": "--profiles",
"short_flag": null,
"type": "boolean",
"description": "Print the profile names, one per line",
"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 validate the configuration, don't print anything",
"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": "Resolve Image Digests",
"flag": "--resolve-image-digests",
"short_flag": null,
"type": "boolean",
"description": "Pin image tags to 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": "Services",
"flag": "--services",
"short_flag": null,
"type": "boolean",
"description": "Print the service names, one per line",
"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": "Variables",
"flag": "--variables",
"short_flag": null,
"type": "boolean",
"description": "Print model variables and default values",
"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": "Print the volume names, one per line",
"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": "compose cp",
"description": "Copy files/folders between a service container and the local filesystem",
"arguments": [
{
"name": "All",
"flag": "--all",
"short_flag": null,
"type": "boolean",
"description": "Copy to all the containers of the service",
"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": "Archive",
"flag": "--archive",
"short_flag": "-a",
"type": "boolean",
"description": "Tar file mode. Copy to all the containers of the service",
"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": "Index",
"flag": "--index",
"short_flag": null,
"type": "integer",
"description": "Index of the container if service has multiple replicas",
"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": "compose create",
"description": "Creates containers for a service",
"arguments": [
{
"name": "Build",
"flag": "--build",
"short_flag": null,
"type": "boolean",
"description": "Build images before starting 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": "Force Recreate",
"flag": "--force-recreate",
"short_flag": null,
"type": "boolean",
"description": "Recreate containers even if their configuration and image haven't changed",
"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 Build",
"flag": "--no-build",
"short_flag": null,
"type": "boolean",
"description": "Don't build an image, even if it's missing",
"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 Recreate",
"flag": "--no-recreate",
"short_flag": null,
"type": "boolean",
"description": "If containers already exist, don't recreate them",
"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": "Pull",
"flag": "--pull",
"short_flag": null,
"type": "enum",
"description": "Pull image before running",
"required": false,
"default": null,
"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": "Remove Orphans",
"flag": "--remove-orphans",
"short_flag": null,
"type": "boolean",
"description": "Remove containers for services not defined in the Compose file",
"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": "Scale",
"flag": "--scale",
"short_flag": null,
"type": "string",
"description": "Scale SERVICE to NUM instances",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "space",
"positional": false,
"validation": null,
"examples": [
"web=3"
],
"display_group": null,
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
}
]
},
{
"name": "compose events",
"description": "Receive real time events from containers",
"arguments": [
{
"name": "JSON",
"flag": "--json",
"short_flag": null,
"type": "boolean",
"description": "Output events as a stream of json objects",
"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": "compose images",
"description": "List images used by the created containers",
"arguments": [
{
"name": "Format",
"flag": "--format",
"short_flag": null,
"type": "enum",
"description": "Format output",
"required": false,
"default": "table",
"choices": [
"table",
"json"
],
"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 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": "compose port",
"description": "Print the public port for a port binding",
"arguments": [
{
"name": "Index",
"flag": "--index",
"short_flag": null,
"type": "integer",
"description": "Index of the container if service has multiple replicas",
"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": "Protocol",
"flag": "--protocol",
"short_flag": null,
"type": "enum",
"description": "TCP or UDP",
"required": false,
"default": "tcp",
"choices": [
"tcp",
"udp"
],
"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": "Service",
"flag": "SERVICE",
"short_flag": null,
"type": "string",
"description": "Service 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": "compose top",
"description": "Display the running processes",
"arguments": []
},
{
"name": "compose version",
"description": "Show the Docker Compose version information",
"arguments": [
{
"name": "Format",
"flag": "--format",
"short_flag": null,
"type": "enum",
"description": "Format output",
"required": false,
"default": "pretty",
"choices": [
"pretty",
"json"
],
"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": "Short",
"flag": "--short",
"short_flag": null,
"type": "boolean",
"description": "Shows only Compose's version number",
"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": "compose ls",
"description": "List running compose projects",
"arguments": [
{
"name": "All",
"flag": "--all",
"short_flag": "-a",
"type": "boolean",
"description": "Show all stopped Compose projects",
"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": "Dry Run",
"flag": "--dry-run",
"short_flag": null,
"type": "boolean",
"description": "Execute command in dry run 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": "Filter",
"flag": "--filter",
"short_flag": null,
"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": null,
"display_group": null,
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "Format",
"flag": "--format",
"short_flag": null,
"type": "enum",
"description": "Format output",
"required": false,
"default": "table",
"choices": [
"table",
"json"
],
"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 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": "compose watch",
"description": "Watch build context for service and rebuild/refresh containers when files are updated",
"arguments": [
{
"name": "No Up",
"flag": "--no-up",
"short_flag": null,
"type": "boolean",
"description": "Do not build & start services before watching",
"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": "Prune",
"flag": "--prune",
"short_flag": null,
"type": "boolean",
"description": "Prune dangling images on rebuild",
"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": null,
"type": "boolean",
"description": "Hide build 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": "compose wait",
"description": "Block until the first service container stops",
"arguments": [
{
"name": "Down Project",
"flag": "--down-project",
"short_flag": null,
"type": "boolean",
"description": "Drops project when the first container stops",
"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
}
]
}
],
"arguments": [
{
"name": "All Resources",
"flag": "--all-resources",
"short_flag": null,
"type": "boolean",
"description": "Include all resources, even those not used by services",
"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": "Ansi",
"flag": "--ansi",
"short_flag": null,
"type": "enum",
"description": "Control when to print ANSI control characters",
"required": false,
"default": "auto",
"choices": [
"never",
"always",
"auto"
],
"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": "Compatibility",
"flag": "--compatibility",
"short_flag": null,
"type": "boolean",
"description": "Run compose in backward compatibility 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": "Dry Run",
"flag": "--dry-run",
"short_flag": null,
"type": "boolean",
"description": "Execute command in dry run 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": "Env File",
"flag": "--env-file",
"short_flag": null,
"type": "file",
"description": "Specify an alternate environment 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": "File",
"flag": "--file",
"short_flag": "-f",
"type": "file",
"description": "Compose configuration files",
"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 ANSI",
"flag": "--no-ansi",
"short_flag": null,
"type": "boolean",
"description": "Do not print ANSI control characters",
"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": "Use --ansi never instead",
"dangerous": false
},
{
"name": "Parallel",
"flag": "--parallel",
"short_flag": null,
"type": "integer",
"description": "Control max parallelism, -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": null,
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "Profile",
"flag": "--profile",
"short_flag": null,
"type": "string",
"description": "Specify a profile to enable",
"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": "Progress",
"flag": "--progress",
"short_flag": null,
"type": "enum",
"description": "Set type of progress output",
"required": false,
"default": "auto",
"choices": [
"auto",
"tty",
"plain",
"quiet",
"rawjson"
],
"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": "Project Directory",
"flag": "--project-directory",
"short_flag": null,
"type": "directory",
"description": "Specify an alternate working directory",
"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": "Project Name",
"flag": "--project-name",
"short_flag": "-p",
"type": "string",
"description": "Project 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
}
],
"_coverage": "full"
}