Implement container attach

Signed-off-by: Jhon Honce <jhonce@redhat.com>
This commit is contained in:
Jhon Honce
2018-05-25 15:18:43 -07:00
parent a9e9fd4f5b
commit 2cb881fa58
5 changed files with 135 additions and 15 deletions

View File

@ -62,7 +62,8 @@ class PodmanTestCase(unittest.TestCase):
cmd = ['podman']
cmd.extend(podman_args)
cmd.extend(['run', '-d', 'alpine', 'sleep', '500'])
# cmd.extend(['run', '-d', 'alpine', 'sleep', '500'])
cmd.extend(['run', '-dt', 'alpine', '/bin/sh'])
PodmanTestCase.alpine_process = subprocess.Popen(
cmd,
stdout=PodmanTestCase.alpine_log,