docker plugin push

Estimated reading time: 2 minutes


Push a plugin to a registry

Usage

$ docker plugin push [OPTIONS] PLUGIN[:TAG]

Refer to the options section for an overview of available OPTIONS for this command.

Description

After you have created a plugin using docker plugin create and the plugin is ready for distribution, use docker plugin push to share your images to Docker Hub or a self-hosted registry.

Registry credentials are managed by docker login.

For example uses of this command, refer to the examples section below.

Options

Name, shorthand Default Description
--disable-content-trust true Skip image signing

Examples

The following example shows how to push a sample user/plugin.

$ docker plugin ls

ID             NAME                    DESCRIPTION                  ENABLED
69553ca1d456   user/plugin:latest      A sample plugin for Docker   false

$ docker plugin push user/plugin

Parent command

Command Description
docker plugin Manage plugins
Command Description
docker plugin create Create a plugin from a rootfs and configuration. Plugin data directory must contain config.json and rootfs directory.
docker plugin disable Disable a plugin
docker plugin enable Enable a plugin
docker plugin inspect Display detailed information on one or more plugins
docker plugin install Install a plugin
docker plugin ls List plugins
docker plugin push Push a plugin to a registry
docker plugin rm Remove one or more plugins
docker plugin set Change settings for a plugin
docker plugin upgrade Upgrade an existing plugin