Extend docker
with new functionality
Located in ~/.docker/cli-plugins
Executable file called docker-*
where *
is the new command
Command line parameters are passed to docker-*
Plugin must support parameter docker_cli_plugin_metadata
and return the following
{
"SchemaVersion":"0.1.0",
"Vendor":"Nicholas Dille",
"Version":"0.0.1",
"ShortDescription":"Sample metadata",
"URL":"https://dille.name"
}
–
Place docker-distribution
in ~/.docker/cli-plugins
docker build --tag cli-plugin .
docker run -it --rm \
--volume /var/run/docker.sock:/var/run/docker.sock \
cli-plugin
Created by Docker Captain Łukasz Lach
See GitHub
Framework for running containerized client plugins
Distributed using Docker registry
expose, publish, showcontext, microscan, dive, runlike, sh, hello