|
@@ -194,6 +194,7 @@ Json Parameters:
|
|
|
- **OpenStdin** - Boolean value, opens stdin,
|
|
|
- **StdinOnce** - Boolean value, close stdin after the 1 attached client disconnects.
|
|
|
- **Env** - A list of environment variables in the form of `VAR=value`
|
|
|
+- **Labels** - A list of labels that will applied in the form of `VAR=value`
|
|
|
- **Cmd** - Command to run specified as a string or an array of strings.
|
|
|
- **Entrypoint** - Set the entrypoint for the container a a string or an array
|
|
|
of strings
|
|
@@ -303,6 +304,11 @@ Return low-level information on the container `id`
|
|
|
"ExposedPorts": null,
|
|
|
"Hostname": "ba033ac44011",
|
|
|
"Image": "ubuntu",
|
|
|
+ "Labels": {
|
|
|
+ "Vendor": "Acme",
|
|
|
+ "License": "GPL",
|
|
|
+ "Version": "1.0"
|
|
|
+ },
|
|
|
"MacAddress": "",
|
|
|
"Memory": 0,
|
|
|
"MemorySwap": 0,
|
|
@@ -1174,7 +1180,11 @@ Return low-level information on the image `name`
|
|
|
"Cmd": ["/bin/bash"],
|
|
|
"Dns": null,
|
|
|
"Image": "ubuntu",
|
|
|
- "Labels": null,
|
|
|
+ "Labels": {
|
|
|
+ "Vendor": "Acme",
|
|
|
+ "License": "GPL",
|
|
|
+ "Version": "1.0"
|
|
|
+ },
|
|
|
"Volumes": null,
|
|
|
"VolumesFrom": "",
|
|
|
"WorkingDir": ""
|