Recommend using gVisor as a sandbox

This commit is contained in:
Sebastian Serth
2022-09-07 22:19:20 +02:00
parent 89fc7b2637
commit 3154c03f8a
3 changed files with 15 additions and 4 deletions

View File

@ -9,12 +9,9 @@ client {
plugin "docker" {
config {
allow_runtimes = ["runsc"]
gc {
image_delay = "0s"
}
# auth {
# config = "/root/.docker/config.json"
# }
}
}

View File

@ -0,0 +1,10 @@
{
"default-runtime": "runsc",
"runtimes": {
"runsc": {
"path": "/usr/bin/runsc",
"runtimeArgs": [
]
}
}
}