Commit 27371fc7 authored by Samuel GAIST's avatar Samuel GAIST

[dock] Make the container read-only

This avoids accidental writes in the container that
will be lost anyway.
parent 7aa7fea6
......@@ -479,7 +479,7 @@ class Host(object):
limitation is not put in place.
cmd = ["docker", "run", "-tid"]
cmd = ["docker", "run", "--tty", "--interactive", "--detach", "--read-only"]
network =
if network:
......@@ -239,4 +239,4 @@ class TestDockerExecution(BaseExecutionMixIn):
result = self.execute("errors/user/single/1/write_error", [{"out_data": 42}])["status"], 1)"Permission denied" in result["user_error"])"Read-only" in result["user_error"])
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment