mirror of
https://github.com/moby/moby.git
synced 2026-08-04 15:11:00 +00:00
Add HostConfig.Tmpfs to docs for container creation remote API
Signed-off-by: Sean McIntyre <s.mcintyre@xverba.ca>
(cherry picked from commit 2c38d43eb5)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
committed by
Sebastiaan van Stijn
parent
a43b40b0d4
commit
955c0bde09
@@ -251,6 +251,7 @@ Create a container
|
||||
"StopSignal": "SIGTERM",
|
||||
"HostConfig": {
|
||||
"Binds": ["/tmp:/tmp"],
|
||||
"Tmpfs": { "/run": "rw,noexec,nosuid,size=65536k" },
|
||||
"Links": ["redis3:redis"],
|
||||
"Memory": 0,
|
||||
"MemorySwap": 0,
|
||||
@@ -358,6 +359,8 @@ Create a container
|
||||
_absolute_ path.
|
||||
+ `volume-name:container-dest:ro` to mount the volume read-only
|
||||
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
|
||||
in the form of `container_name:alias`.
|
||||
- **Memory** - Memory limit in bytes.
|
||||
|
||||
@@ -273,6 +273,7 @@ Create a container
|
||||
"StopSignal": "SIGTERM",
|
||||
"HostConfig": {
|
||||
"Binds": ["/tmp:/tmp"],
|
||||
"Tmpfs": { "/run": "rw,noexec,nosuid,size=65536k" },
|
||||
"Links": ["redis3:redis"],
|
||||
"Memory": 0,
|
||||
"MemorySwap": 0,
|
||||
@@ -381,6 +382,8 @@ Create a container
|
||||
_absolute_ path.
|
||||
+ `volume-name:container-dest:ro` to mount the volume read-only
|
||||
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
|
||||
in the form of `container_name:alias`.
|
||||
- **Memory** - Memory limit in bytes.
|
||||
|
||||
@@ -284,6 +284,7 @@ Create a container
|
||||
"StopSignal": "SIGTERM",
|
||||
"HostConfig": {
|
||||
"Binds": ["/tmp:/tmp"],
|
||||
"Tmpfs": { "/run": "rw,noexec,nosuid,size=65536k" },
|
||||
"Links": ["redis3:redis"],
|
||||
"Memory": 0,
|
||||
"MemorySwap": 0,
|
||||
@@ -398,6 +399,8 @@ Create a container
|
||||
_absolute_ path.
|
||||
+ `volume-name:container-dest:ro` to mount the volume read-only
|
||||
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
|
||||
in the form of `container_name:alias`.
|
||||
- **Memory** - Memory limit in bytes.
|
||||
|
||||
@@ -285,6 +285,7 @@ Create a container
|
||||
"StopSignal": "SIGTERM",
|
||||
"HostConfig": {
|
||||
"Binds": ["/tmp:/tmp"],
|
||||
"Tmpfs": { "/run": "rw,noexec,nosuid,size=65536k" },
|
||||
"Links": ["redis3:redis"],
|
||||
"Memory": 0,
|
||||
"MemorySwap": 0,
|
||||
@@ -402,6 +403,8 @@ Create a container
|
||||
_absolute_ path.
|
||||
+ `volume-name:container-dest:ro` to mount the volume read-only
|
||||
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
|
||||
in the form of `container_name:alias`.
|
||||
- **Memory** - Memory limit in bytes.
|
||||
|
||||
Reference in New Issue
Block a user