summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/runner/runc/spec.rs11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/runner/runc/spec.rs b/src/runner/runc/spec.rs
index 75f8963..6d9b90d 100644
--- a/src/runner/runc/spec.rs
+++ b/src/runner/runc/spec.rs
@@ -49,6 +49,17 @@ pub fn generate_spec(run: &str, env: &HashMap<String, String>) -> runtime::Spec
]
},
{
+ "destination": "/tmp",
+ "type": "tmpfs",
+ "source": "tmp",
+ "options": [
+ "nodev",
+ "nosuid",
+ "mode=1777",
+ "size=65536k"
+ ]
+ },
+ {
"destination": "/proc",
"type": "proc",
"source": "proc"