Align inner runtime names with host: runsc-host and runsc-docker
This commit is contained in:
1 parent
6c14f5d76d
commit
6d04a924e3
4 files changed
+16
-16
No files matched your search
+3
-3
@@ -1,14 +1,14 @@
|
||||
{
|
||||
"default-runtime": "runsc",
|
||||
"default-runtime": "runsc-host",
|
||||
"runtimes": {
|
||||
"runsc": {
|
||||
"runsc-host": {
|
||||
"path": "/usr/local/bin/runsc",
|
||||
"runtimeArgs": [
|
||||
"--platform=systrap",
|
||||
"--network=host"
|
||||
]
|
||||
},
|
||||
"runsc-net": {
|
||||
"runsc-docker": {
|
||||
"path": "/usr/local/bin/runsc",
|
||||
"runtimeArgs": [
|
||||
"--platform=systrap",
|
||||
|
||||
@@ -11,7 +11,7 @@ docker rm -f gvisor-dind >/dev/null 2>&1 || true
|
||||
docker run -d \
|
||||
--name gvisor-dind \
|
||||
--restart unless-stopped \
|
||||
--runtime=runsc-net \
|
||||
--runtime=runsc-docker \
|
||||
--privileged \
|
||||
-p 127.0.0.1:2375:2375 \
|
||||
-v gvisor-dind-data:/var/lib/docker \
|
||||
|
||||
Reference in new issue
Block a user