Fixes docker.errors.DockerException: 'dns' parameter has no effect on create_container(). It has been moved to start()
This commit is contained in:
parent
e3759bd0d3
commit
13685fb91b
1 changed files with 0 additions and 4 deletions
|
@ -726,13 +726,9 @@ class DockerManager(object):
|
|||
'name': self.module.params.get('name'),
|
||||
'stdin_open': self.module.params.get('stdin_open'),
|
||||
'tty': self.module.params.get('tty'),
|
||||
'dns': self.module.params.get('dns'),
|
||||
'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:
|
||||
self.ensure_capability('volumes_from')
|
||||
|
||||
|
|
Loading…
Reference in a new issue