mirror of
https://github.com/containrrr/watchtower.git
synced 2026-02-25 16:34:07 +01:00
feat: add flag to disable to the memory swappiness
This commit is contained in:
parent
76f9cea516
commit
51a66ff65e
4 changed files with 37 additions and 10 deletions
|
|
@ -465,3 +465,15 @@ Environment Variable: WATCHTOWER_PORCELAIN
|
|||
Possible values: v1
|
||||
Default: -
|
||||
```
|
||||
|
||||
## Compatibility with podman (Disable memory swappiness)
|
||||
|
||||
Disable memory swappiness. By default, podman sets the memory-swappiness value to 0 when no memory-swappiness is defined
|
||||
When this flag is specified, watchtower will set the memory-swappiness to nil, fixing a compatibility issue with podman running with crun and cgroupv2
|
||||
|
||||
```text
|
||||
Argument: --disable-memory-swappiness
|
||||
Environment Variable: WATCHTOWER_DISABLE_MEMORY_SWAPPINESS
|
||||
Type: Boolean
|
||||
Default: false
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue