Skip to content

Commit 465cdff

Browse files
committed
Merge pull request #12140 from stepancheg:patch-3
PiperOrigin-RevId: 808359367
2 parents 2c49d9f + 2883d0e commit 465cdff

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

g3doc/user_guide/tutorials/docker-in-gvisor.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,20 @@ network driver and the bridge network driver are tested and supported.
1010

1111
To run docker within gvisor, runsc must be enabled to allow raw sockets. This is
1212
not the default, `--net-raw` must be passed to runsc. To use the following
13-
tutorial, that means having the following configuration in
13+
tutorial, that means having the following runtimes configuration in
1414
`/etc/docker/daemon.json`:
1515

1616
```json
17+
{
18+
"runtimes": {
1719
"runsc": {
1820
"path": "/usr/local/bin/runsc",
1921
"runtimeArgs": [
2022
"--net-raw"
2123
]
2224
}
25+
}
26+
}
2327
```
2428

2529
If you have an existing entry for `runsc`, likely created by `runsc install`,

0 commit comments

Comments
 (0)