diff options
Diffstat (limited to 'scripts/container.py')
-rw-r--r-- | scripts/container.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/container.py b/scripts/container.py index 678a0929..3223c993 100644 --- a/scripts/container.py +++ b/scripts/container.py @@ -66,7 +66,7 @@ class Container: @classmethod def exec_cmd(cls, container_id, sub_cmd, exit_on_error=False): - cmd = 'sudo docker exec %s %s' % (container_id, sub_cmd) + cmd = 'sudo docker exec %s /bin/bash -c "%s"' % (container_id, sub_cmd) dt_utils.exec_cmd(cmd,logger,exit_on_error) @classmethod |