docker-cli: add docker contexts support
Adds docker-cli.contexts support. This allows declarative configuration of [docker contexts](https://docs.docker.com/engine/manage-resources/contexts/).
This commit is contained in:
parent
25ca7d297f
commit
990e5ce679
4 changed files with 93 additions and 1 deletions
11
tests/modules/programs/docker-cli/example-contexts.json
Normal file
11
tests/modules/programs/docker-cli/example-contexts.json
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"Endpoints": {
|
||||
"docker": {
|
||||
"Host": "unix://example2"
|
||||
}
|
||||
},
|
||||
"Metadata": {
|
||||
"Description": "example1"
|
||||
},
|
||||
"Name": "example"
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue