github.com/AliyunContainerService/cli@v0.0.0-20181009023821-814ced4b30d0/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/cli GitHub 8 repository at https://github.com/docker/cli/. 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 --disable-content-trust Skip image signing (default true) 23 --help Print usage 24 ``` 25 26 ## Description 27 28 After you have created a plugin using `docker plugin create` and the plugin is 29 ready for distribution, use `docker plugin push` to share your images to Docker 30 Hub or a self-hosted registry. 31 32 Registry credentials are managed by [docker login](login.md). 33 34 ## Examples 35 36 The following example shows how to push a sample `user/plugin`. 37 38 ```bash 39 $ docker plugin ls 40 41 ID NAME TAG DESCRIPTION ENABLED 42 69553ca1d456 user/plugin latest A sample plugin for Docker false 43 44 $ docker plugin push user/plugin 45 ``` 46 47 ## Related commands 48 49 * [plugin create](plugin_create.md) 50 * [plugin disable](plugin_disable.md) 51 * [plugin enable](plugin_enable.md) 52 * [plugin inspect](plugin_inspect.md) 53 * [plugin install](plugin_install.md) 54 * [plugin ls](plugin_ls.md) 55 * [plugin rm](plugin_rm.md) 56 * [plugin set](plugin_set.md) 57 * [plugin upgrade](plugin_upgrade.md)