Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jitesoft/docker-multi-plugin
A docker CLI plugin to allow multi/batch tagging and pushing in single commands.
https://github.com/jitesoft/docker-multi-plugin
cli-plugin docker docker-cli docker-plugin go plugin
Last synced: 5 days ago
JSON representation
A docker CLI plugin to allow multi/batch tagging and pushing in single commands.
- Host: GitHub
- URL: https://github.com/jitesoft/docker-multi-plugin
- Owner: jitesoft
- License: mit
- Created: 2019-09-26T07:41:07.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2023-05-11T20:46:27.000Z (over 1 year ago)
- Last Synced: 2024-06-19T19:40:51.071Z (5 months ago)
- Topics: cli-plugin, docker, docker-cli, docker-plugin, go, plugin
- Language: Go
- Homepage:
- Size: 3.92 MB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# docker-multi-plugin
A simple CLI plugin (created mainly to test the capabilities of the go docker cli plugin api) which
allows to push and tag images with multiple arguments in one command!Ever found the following annoying?
```bash
docker tag myimage:latest myimage:1.0.1.1.0
docker tag myimage:latest myimage:1.0.1.1
docker tag myimage:latest myimage:1.0.1
docker tag myimage:latest myimage:1.0
docker tag myimage:latest myimage:1docker push myimage:latest
docker push myimage:1.0.1.1.0
docker push myimage:1.0.1.1
docker push myimage:1.0.1
docker push myimage:1.0
docker push myimage:1
```Well, with the `multi` cli plugin, you could instead do this!
```bash
docker multi tag myimage:latest myimage:1.0.1.1.0 myimage:latest myimage:1.0.1.1 myimage:latest myimage:1.0.1 myimage:latest myimage:1.0 myimage:latest myimage:1
docker multi push myimage:latest myimage:1.0.1.1.0 myimage:latest myimage:1.0.1.1 myimage:latest myimage:1.0.1 myimage:latest myimage:1.0 myimage:latest myimage:1
```Awesome right?!
## Installation
Either build the code yourself or download one of the binaries from the `releases` tab on github.
Rename the plugin file to `docker-multi` and place it in the `~/.docker/cli-plugins` directory (or `%HOMEPATH%\.docker\cli-plugins` on windows).```bash
MULTI_VERSION=v0.0.3 # Change to version you want to download.
MULTI_ARCH=amd64-linux # Change to your arch and os
PLUGINS=$HOME/.docker/cli-plugins
mkdir -p $PLUGINScurl -L "https://github.com/jitesoft/docker-multi-plugin/releases/download/${MULTI_VERSION}/docker-multi-plugin-${MULTI_ARCH}.tar.gz" | tar zx -C $PLUGINS/
chmod +x $PLUGINS/docker-multi
```Run docker `docker multi --help`.
Done!
## License
MIT
No warranty, no liability.