Skip to content
Snippets Groups Projects
Commit 48bae90e authored by Rabi Mishra's avatar Rabi Mishra
Browse files

Don't allocate pseudo-TTY when creating containers

With a pseudo terminal, service is not treated as a daemon
and signals would not work as expected.

Change-Id: I16aa29a7924df51659d973a81d8005ae3d86f57b
Related-Bug: #1799642
parent 1731f81f
No related branches found
No related tags found
No related merge requests found
......@@ -639,7 +639,6 @@ class DockerWorker(object):
'image': self.params.get('image'),
'name': self.params.get('name'),
'volumes': volumes,
'tty': True
}
def create_container(self):
......
......@@ -133,7 +133,6 @@ FAKE_DATA = {
'image': 'myregistrydomain.com:5000/ubuntu:16.04',
'name': 'test_container',
'volumes': None,
'tty': True
},
'images': [
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment