From 13685fb91b037d092e8e7b36f7ee8ca74a988a5d Mon Sep 17 00:00:00 2001 From: Marek Chodor Date: Wed, 21 Jan 2015 13:37:24 +0100 Subject: [PATCH] Fixes docker.errors.DockerException: 'dns' parameter has no effect on create_container(). It has been moved to start() --- cloud/docker/docker.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/cloud/docker/docker.py b/cloud/docker/docker.py index f71bad42e79..fd1ba63c577 100644 --- a/cloud/docker/docker.py +++ b/cloud/docker/docker.py @@ -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')