github.com/sld880311/docker@v0.0.0-20200524143708-d5593973a475/docs/reference/commandline/plugin_push.md (about)

     1  ---
     2  title: "plugin push"
     3  description: "the plugin push command description and usage"
     4  keywords: "plugin, push"
     5  ---
     6  
     7  <!-- This file is maintained within the docker/docker Github
     8       repository at https://github.com/docker/docker/. Make all
     9       pull requests against that repo. If you see this file in
    10       another repository, consider it read-only there, as it will
    11       periodically be overwritten by the definitive file. Pull
    12       requests which include edits to this file in other repositories
    13       will be rejected.
    14  -->
    15  
    16  ```markdown
    17  Usage:  docker plugin push [OPTIONS] PLUGIN[:TAG]
    18  
    19  Push a plugin to a registry
    20  
    21  Options:
    22        --help       Print usage
    23  ```
    24  
    25  ## Description
    26  
    27  After you have created a plugin using `docker plugin create` and the plugin is
    28  ready for distribution, use `docker plugin push` to share your images to Docker
    29  Hub or a self-hosted registry.
    30  
    31  Registry credentials are managed by [docker login](login.md).
    32  
    33  ## Examples
    34  
    35  The following example shows how to push a sample `user/plugin`.
    36  
    37  ```bash
    38  $ docker plugin ls
    39  
    40  ID                  NAME                  TAG                 DESCRIPTION                ENABLED
    41  69553ca1d456        user/plugin           latest              A sample plugin for Docker false
    42  $ docker plugin push user/plugin
    43  ```
    44  
    45  ## Related commands
    46  
    47  * [plugin create](plugin_create.md)
    48  * [plugin disable](plugin_disable.md)
    49  * [plugin enable](plugin_enable.md)
    50  * [plugin inspect](plugin_inspect.md)
    51  * [plugin install](plugin_install.md)
    52  * [plugin ls](plugin_ls.md)
    53  * [plugin rm](plugin_rm.md)
    54  * [plugin set](plugin_set.md)
    55  * [plugin upgrade](plugin_upgrade.md)