docker app completion

Estimated reading time: 3 minutes

Description

Generates completion scripts for the specified shell (bash or zsh)

This command is experimental.

This command is experimental on the Docker client. It should not be used in production environments. To enable experimental features in the Docker CLI, edit the config.json and set experimental to enabled.

Experimental features provide early access to future product functionality. These features are intended for testing and feedback only as they may change between releases without warning or can be removed entirely from a future release. Experimental features must not be used in production environments. Docker does not offer support for experimental features. For more information, see Experimental features.

To enable experimental features in the Docker CLI, edit the config.json file and set experimental to enabled.

To enable experimental features from the Docker Desktop menu, click Settings (Preferences on macOS) > Daemon and then select the Experimental features check box.

Usage

docker app completion SHELL

Parent command

Command Description
docker app Docker Application
Command Description
docker app bundle Create a CNAB invocation image and bundle.json for the application
docker app completion Generates completion scripts for the specified shell (bash or zsh)
docker app init Initialize Docker Application definition
docker app inspect Shows metadata, parameters and a summary of the Compose file for a given application
docker app install Install an application
docker app list List the installations and their last known installation result
docker app merge Merge a directory format Docker Application definition into a single file
docker app pull Pull an application package from a registry
docker app push Push an application package to a registry
docker app render Render the Compose file for an Application Package
docker app split Split a single-file Docker Application definition into the directory format
docker app status Get the installation status of an application
docker app uninstall Uninstall an application
docker app upgrade Upgrade an installed application
docker app validate Checks the rendered application is syntactically correct
docker app version Print version information

Extended description

Load the “docker app” completion code for bash into the current shell

. <(docker app completion bash)

Set the “docker app” completion code for bash to autoload on startup in your ~/.bashrc,

~/.profile or ~/.bash_profile

. <(docker app completion bash)

Note: bash-completion is needed.

Load the “docker app” completion code for zsh into the current shell

source <(docker app completion zsh)

Set the “docker app” completion code for zsh to autoload on startup in your ~/.zshrc,

source <(docker app completion zsh)

Examples

$ . <(docker app completion bash)