mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Add HostConfig.Tmpfs to docs for container creation remote API
Signed-off-by: Sean McIntyre <s.mcintyre@xverba.ca>
This commit is contained in:
parent
30d0c3899e
commit
2c38d43eb5
5 changed files with 15 additions and 0 deletions
|
@ -257,6 +257,7 @@ Create a container
|
|||
"StopSignal": "SIGTERM",
|
||||
"HostConfig": {
|
||||
"Binds": ["/tmp:/tmp"],
|
||||
"Tmpfs": { "/run": "rw,noexec,nosuid,size=65536k" },
|
||||
"Links": ["redis3:redis"],
|
||||
"Memory": 0,
|
||||
"MemorySwap": 0,
|
||||
|
@ -364,6 +365,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.
|
||||
|
|
|
@ -281,6 +281,7 @@ Create a container
|
|||
"StopSignal": "SIGTERM",
|
||||
"HostConfig": {
|
||||
"Binds": ["/tmp:/tmp"],
|
||||
"Tmpfs": { "/run": "rw,noexec,nosuid,size=65536k" },
|
||||
"Links": ["redis3:redis"],
|
||||
"Memory": 0,
|
||||
"MemorySwap": 0,
|
||||
|
@ -389,6 +390,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.
|
||||
|
|
|
@ -290,6 +290,7 @@ Create a container
|
|||
"StopSignal": "SIGTERM",
|
||||
"HostConfig": {
|
||||
"Binds": ["/tmp:/tmp"],
|
||||
"Tmpfs": { "/run": "rw,noexec,nosuid,size=65536k" },
|
||||
"Links": ["redis3:redis"],
|
||||
"Memory": 0,
|
||||
"MemorySwap": 0,
|
||||
|
@ -404,6 +405,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.
|
||||
|
|
|
@ -295,6 +295,7 @@ Create a container
|
|||
"StopTimeout": 10,
|
||||
"HostConfig": {
|
||||
"Binds": ["/tmp:/tmp"],
|
||||
"Tmpfs": { "/run": "rw,noexec,nosuid,size=65536k" },
|
||||
"Links": ["redis3:redis"],
|
||||
"Memory": 0,
|
||||
"MemorySwap": 0,
|
||||
|
@ -418,6 +419,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.
|
||||
|
|
|
@ -295,6 +295,7 @@ Create a container
|
|||
"StopTimeout": 10,
|
||||
"HostConfig": {
|
||||
"Binds": ["/tmp:/tmp"],
|
||||
"Tmpfs": { "/run": "rw,noexec,nosuid,size=65536k" },
|
||||
"Links": ["redis3:redis"],
|
||||
"Memory": 0,
|
||||
"MemorySwap": 0,
|
||||
|
@ -418,6 +419,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.
|
||||
|
|
Loading…
Add table
Reference in a new issue