You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/reference/commandline/dockerd.md
+8Lines changed: 8 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1409,6 +1409,7 @@ This is a full example of the allowed configuration options on Windows:
1409
1409
"containerd-plugin-namespace": "docker-plugins",
1410
1410
"data-root": "",
1411
1411
"debug": true,
1412
+
"default-runtime": "",
1412
1413
"default-ulimits": {},
1413
1414
"dns": [],
1414
1415
"dns-opts": [],
@@ -1441,6 +1442,13 @@ This is a full example of the allowed configuration options on Windows:
1441
1442
}
1442
1443
```
1443
1444
1445
+
The `default-runtime` option is by default unset, in which case dockerd will auto-detect the runtime. This detection is currently based on if the `containerd` flag is set.
1446
+
1447
+
Accepted values:
1448
+
1449
+
-`com.docker.hcsshim.v1` - This is the built-in runtime that Docker has used since Windows supported was first added and uses the v1 HCS API's in Windows.
1450
+
-`io.containerd.runhcs.v1` - This is uses the containerd `runhcs` shim to run the container and uses the v2 HCS API's in Windows.
1451
+
1444
1452
#### Feature options
1445
1453
The optional field `features` in `daemon.json` allows users to enable or disable specific
1446
1454
daemon features. For example, `{"features":{"buildkit": true}}` enables `buildkit` as the
0 commit comments