mirror of
https://github.com/containers/podman-compose.git
synced 2025-02-03 03:49:21 +01:00
fixing "Error: unknown flag: --shm_size"
This commit is contained in:
parent
cbed801c0d
commit
7f210ffc43
@ -555,7 +555,7 @@ def container_to_args(compose, cnt, detached=True, podman_command='run'):
|
||||
if cnt.get('hostname', None):
|
||||
podman_args.extend(['--hostname', cnt['hostname']])
|
||||
if cnt.get('shm_size', None):
|
||||
podman_args.extend(['--shm_size', '{}'.format(cnt['shm_size'])])
|
||||
podman_args.extend(['--shm-size', '{}'.format(cnt['shm_size'])])
|
||||
if cnt.get('stdin_open', None):
|
||||
podman_args.append('-i')
|
||||
if cnt.get('tty', None):
|
||||
|
Loading…
Reference in New Issue
Block a user