1
0
mirror of https://github.com/docker/cli.git synced 2025-07-04 02:02:35 +03:00
Files
cli/docs/reference/commandline/plugin_push.md
Kevin Alvarez 79c9e527a3 docs: generate markdown
Keep frontmatter for docker, dockerd and index markdown files.
Also needs to move cli.md > docker.md before generation and
then move it back because cli.md is needed for yaml generation on docs
website: https://github.com/docker/cli/pull/3924#discussion_r1059986605

Signed-off-by: Kevin Alvarez <crazy-max@users.noreply.github.com>
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2023-01-06 22:36:47 +01:00

47 lines
1.2 KiB
Markdown

# plugin push
<!---MARKER_GEN_START-->
Push a plugin to a registry
### Options
| Name | Type | Default | Description |
|:--------------------------|:-----|:--------|:-------------------|
| `--disable-content-trust` | | | Skip image signing |
<!---MARKER_GEN_END-->
## 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](login.md).
## Examples
The following example shows how to push a sample `user/plugin`.
```console
$ docker plugin ls
ID NAME DESCRIPTION ENABLED
69553ca1d456 user/plugin:latest A sample plugin for Docker false
$ docker plugin push user/plugin
```
## Related commands
* [plugin create](plugin_create.md)
* [plugin disable](plugin_disable.md)
* [plugin enable](plugin_enable.md)
* [plugin inspect](plugin_inspect.md)
* [plugin install](plugin_install.md)
* [plugin ls](plugin_ls.md)
* [plugin rm](plugin_rm.md)
* [plugin set](plugin_set.md)
* [plugin upgrade](plugin_upgrade.md)