Merge branch 'devel' of github.com:containers/podman-compose into devel

This commit is contained in:
Muayyad Alsadi 2019-09-13 22:25:52 +03:00
commit 4c07e875a0

View File

@ -459,6 +459,8 @@ def container_to_args(compose, cnt, detached=True, podman_command='run'):
if net:
podman_args.extend(['--network', net])
env = norm_as_list(cnt.get('environment', {}))
for d in cnt.get('devices', []):
podman_args.extend(['--device', d])
for e in env:
podman_args.extend(['-e', e])
for i in cnt.get('env_file', []):