Commit 34e27ca6 authored by Thomas Phil's avatar Thomas Phil

debugging in mockcloud

parent 8a0e296a
......@@ -17,4 +17,4 @@ RUN cd /opt/strongr && python d:create
WORKDIR /opt/strongr
CMD ['python', '', 'r:r']
CMD ["python", "", "r:r"]
......@@ -42,6 +42,8 @@ class RunJobHandler(AbstractRunJobHandler):
cmd = 'docker run --rm {} {} -di --name {} -m {}g --cpus={} --entrypoint /bin/sh {}'.format(volumes, env, command.job_id, command.memory, command.cores, quote(command.image))
ret_code =, shell=True) # start docker container
if ret_code != 0:
raise Exception('Something went wrong while initializing docker image: {}'.format(cmd))
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment