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
@@ -1505,6 +1505,7 @@ This is a full example of the allowed configuration options on Windows:
1505
1505
"containerd-plugin-namespace": "docker-plugins",
1506
1506
"data-root": "",
1507
1507
"debug": true,
1508
+
"default-runtime": "",
1508
1509
"default-ulimits": {},
1509
1510
"dns": [],
1510
1511
"dns-opts": [],
@@ -1537,6 +1538,13 @@ This is a full example of the allowed configuration options on Windows:
1537
1538
}
1538
1539
```
1539
1540
1541
+
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.
1542
+
1543
+
Accepted values:
1544
+
1545
+
-`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.
1546
+
-`io.containerd.runhcs.v1` - This is uses the containerd `runhcs` shim to run the container and uses the v2 HCS API's in Windows.
1547
+
1540
1548
#### Feature options
1541
1549
The optional field `features` in `daemon.json` allows users to enable or disable specific
1542
1550
daemon features. For example, `{"features":{"buildkit": true}}` enables `buildkit` as the
0 commit comments