We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b28f5c5 commit b44a58fCopy full SHA for b44a58f
1 file changed
controller/api/tasks.py
@@ -91,7 +91,7 @@ def run_command(c, command):
91
if rc != 0:
92
raise EnvironmentError('Could not pull image: {image}'.format(**locals()))
93
# run the command
94
- docker_args = ' '.join(['--entrypoint=/bin/sh',
+ docker_args = ' '.join(['--entrypoint=/bin/bash',
95
'-a', 'stdout', '-a', 'stderr', '--rm', image])
96
escaped_command = command.replace("'", "'\\''")
97
command = r"docker run {docker_args} -c \'{escaped_command}\'".format(**locals())
0 commit comments