Fixes docker.errors.DockerException: 'dns' parameter has no effect on create_container(). It has been moved to start()
This commit is contained in:
parent
724ae97898
commit
35ab6d15df
1 changed files with 0 additions and 4 deletions
|
@ -735,13 +735,9 @@ class DockerManager(object):
|
||||||
'name': self.module.params.get('name'),
|
'name': self.module.params.get('name'),
|
||||||
'stdin_open': self.module.params.get('stdin_open'),
|
'stdin_open': self.module.params.get('stdin_open'),
|
||||||
'tty': self.module.params.get('tty'),
|
'tty': self.module.params.get('tty'),
|
||||||
'dns': self.module.params.get('dns'),
|
|
||||||
'volumes_from': self.module.params.get('volumes_from'),
|
'volumes_from': self.module.params.get('volumes_from'),
|
||||||
}
|
}
|
||||||
|
|
||||||
if params['dns'] is not None:
|
|
||||||
self.ensure_capability('dns')
|
|
||||||
|
|
||||||
if params['volumes_from'] is not None:
|
if params['volumes_from'] is not None:
|
||||||
self.ensure_capability('volumes_from')
|
self.ensure_capability('volumes_from')
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue