|
@@ -140,7 +140,10 @@ Create a container
|
|
"Tty": false,
|
|
"Tty": false,
|
|
"OpenStdin": false,
|
|
"OpenStdin": false,
|
|
"StdinOnce": false,
|
|
"StdinOnce": false,
|
|
- "Env": null,
|
|
|
|
|
|
+ "Env": [
|
|
|
|
+ "FOO=bar",
|
|
|
|
+ "BAZ=quux"
|
|
|
|
+ ],
|
|
"Cmd": [
|
|
"Cmd": [
|
|
"date"
|
|
"date"
|
|
],
|
|
],
|
|
@@ -228,7 +231,7 @@ Json Parameters:
|
|
- **Tty** - Boolean value, Attach standard streams to a `tty`, including `stdin` if it is not closed.
|
|
- **Tty** - Boolean value, Attach standard streams to a `tty`, including `stdin` if it is not closed.
|
|
- **OpenStdin** - Boolean value, opens stdin,
|
|
- **OpenStdin** - Boolean value, opens stdin,
|
|
- **StdinOnce** - Boolean value, close `stdin` after the 1 attached client disconnects.
|
|
- **StdinOnce** - Boolean value, close `stdin` after the 1 attached client disconnects.
|
|
-- **Env** - A list of environment variables in the form of `VAR=value`
|
|
|
|
|
|
+- **Env** - A list of environment variables in the form of `["VAR=value"[,"VAR2=value2"]]`
|
|
- **Labels** - Adds a map of labels to a container. To specify a map: `{"key":"value"[,"key2":"value2"]}`
|
|
- **Labels** - Adds a map of labels to a container. To specify a map: `{"key":"value"[,"key2":"value2"]}`
|
|
- **Cmd** - Command to run specified as a string or an array of strings.
|
|
- **Cmd** - Command to run specified as a string or an array of strings.
|
|
- **Entrypoint** - Set the entry point for the container as a string or an array
|
|
- **Entrypoint** - Set the entry point for the container as a string or an array
|