mirror of
https://github.com/projectatomic/atomic.git
synced 2026-02-05 18:45:01 +01:00
Bugfix for docker create_container API change.
Signed-off-by: William Temple <wtemple@redhat.com>
This commit is contained in:
@@ -174,8 +174,7 @@ class DockerMount(Mount):
|
||||
return self.client.create_container(
|
||||
image=iid, command='/bin/true',
|
||||
environment=['_ATOMIC_TEMP_CONTAINER'],
|
||||
detach=True, mem_limit='4m',
|
||||
network_disabled=True)['Id']
|
||||
detach=True, network_disabled=True)['Id']
|
||||
except docker.errors.APIError as ex:
|
||||
raise MountError('Error creating temporary container:\n' + str(ex))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user