Skip to content

Commit fd2974d

Browse files
committed
Add docker configuration details to README
Signed-off-by: Evan Lezar <[email protected]>
1 parent bb0e178 commit fd2974d

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

README.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,25 @@ file (`/etc/containerd/config.toml` by default):
9090
```
9191

9292
Remember to restart containerd for any configuration changes to take effect.
93+
94+
### Docker configuration
95+
96+
To enable and configure CDI support in the [Docker Daemon](https://github.com/moby/moby)
97+
[Docker 25](https://github.com/moby/moby/releases/tag/v25.0.0) or later is required.
98+
99+
In addition, the CDI feature must be enabled. That means including the following in the daemon
100+
config (`/etc/docker/daemon.json` by default):
101+
102+
```json
103+
{
104+
"features": {
105+
"cdi": true
106+
}
107+
}
108+
```
109+
110+
Remember to restart to Docker daemon for any configuration changes to take effect.
111+
93112
### Podman configuration
94113

95114
[podman](https://github.com/containers/podman) does not require any specific

0 commit comments

Comments
 (0)