Fix issue #3866
This commit is contained in:
parent
2bd8d78a8b
commit
68151790c2
1 changed files with 1 additions and 1 deletions
|
@ -1506,7 +1506,7 @@ class Container(DockerBaseClass):
|
|||
expected_env = dict()
|
||||
if image and image['ContainerConfig'].get('Env'):
|
||||
for env_var in image['ContainerConfig']['Env']:
|
||||
parts = env_var.split('=')
|
||||
parts = env_var.split('=', 1)
|
||||
expected_env[parts[0]] = parts[1]
|
||||
if self.parameters.env:
|
||||
expected_env.update(self.parameters.env)
|
||||
|
|
Loading…
Reference in a new issue