mirror of
https://github.com/containers/podman.git
synced 2025-08-06 11:32:07 +08:00
quadlet: support Memory=
in [Container]
sections
Maps to the `--memory=` flag. Signed-off-by: Ben Boeckel <mathstuf@gmail.com>
This commit is contained in:
@ -319,6 +319,7 @@ Valid options for `[Container]` are listed below:
|
||||
| LogDriver=journald | --log-driver journald |
|
||||
| LogOpt=path=/var/log/mykube\.json | --log-opt path=/var/log/mykube\.json |
|
||||
| Mask=/proc/sys/foo\:/proc/sys/bar | --security-opt mask=/proc/sys/foo:/proc/sys/bar |
|
||||
| Memory=20g | --memory 20g |
|
||||
| Mount=type=... | --mount type=... |
|
||||
| Network=host | --network host |
|
||||
| NetworkAlias=name | --network-alias name |
|
||||
@ -659,6 +660,10 @@ This key can be listed multiple times.
|
||||
|
||||
Specify the paths to mask separated by a colon. `Mask=/path/1:/path/2`. A masked path cannot be accessed inside the container.
|
||||
|
||||
### `Memory=`
|
||||
|
||||
Specify the amount of memory for the container.
|
||||
|
||||
### `Mount=`
|
||||
|
||||
Attach a filesystem mount to the container.
|
||||
|
Reference in New Issue
Block a user