mirror of
https://github.com/containers/podman-compose.git
synced 2024-11-23 00:13:25 +01:00
Add support for sysctls in compose file
This commit is contained in:
parent
b3090c3c3a
commit
b3370603d9
@ -568,6 +568,8 @@ def container_to_args(compose, cnt, detached=True, podman_command='run'):
|
||||
podman_args.extend(['--shm-size', '{}'.format(cnt['shm_size'])])
|
||||
if cnt.get('stdin_open', None):
|
||||
podman_args.append('-i')
|
||||
for i in cnt.get('sysctls', []):
|
||||
podman_args.extend(['--sysctl', i])
|
||||
if cnt.get('tty', None):
|
||||
podman_args.append('--tty')
|
||||
if cnt.get('privileged', None):
|
||||
|
Loading…
Reference in New Issue
Block a user