17 lines
263 B
Bash
Executable File
17 lines
263 B
Bash
Executable File
#!/bin/bash
|
|
|
|
if [[ "$1" == "docker-cli-plugin-metadata" ]]; then
|
|
cat << HERE
|
|
{
|
|
"SchemaVersion": "0.1.0",
|
|
"Vendor": "example.com",
|
|
"Version": "v0.1.0",
|
|
"ShortDescription": "Bash based Docker cli-plugin"
|
|
}
|
|
HERE
|
|
exit
|
|
fi
|
|
|
|
docker exec -it $2 bash
|
|
|