|
@@ -257,6 +257,7 @@ Create a container
|
|
"StopSignal": "SIGTERM",
|
|
"StopSignal": "SIGTERM",
|
|
"HostConfig": {
|
|
"HostConfig": {
|
|
"Binds": ["/tmp:/tmp"],
|
|
"Binds": ["/tmp:/tmp"],
|
|
|
|
+ "Tmpfs": { "/run": "rw,noexec,nosuid,size=65536k" },
|
|
"Links": ["redis3:redis"],
|
|
"Links": ["redis3:redis"],
|
|
"Memory": 0,
|
|
"Memory": 0,
|
|
"MemorySwap": 0,
|
|
"MemorySwap": 0,
|
|
@@ -364,6 +365,8 @@ Create a container
|
|
_absolute_ path.
|
|
_absolute_ path.
|
|
+ `volume-name:container-dest:ro` to mount the volume read-only
|
|
+ `volume-name:container-dest:ro` to mount the volume read-only
|
|
inside the container. `container-dest` must be an _absolute_ path.
|
|
inside the container. `container-dest` must be an _absolute_ path.
|
|
|
|
+ - **Tmpfs** – A map of container directories which should be replaced by tmpfs mounts, and their corresponding
|
|
|
|
+ mount options. A JSON object in the form `{ "/run": "rw,noexec,nosuid,size=65536k" }`.
|
|
- **Links** - A list of links for the container. Each link entry should be
|
|
- **Links** - A list of links for the container. Each link entry should be
|
|
in the form of `container_name:alias`.
|
|
in the form of `container_name:alias`.
|
|
- **Memory** - Memory limit in bytes.
|
|
- **Memory** - Memory limit in bytes.
|