From fd2974d3a8be89f26174131b1e92f196e69546fa Mon Sep 17 00:00:00 2001 From: Evan Lezar Date: Tue, 23 Jan 2024 16:52:50 +0100 Subject: [PATCH] Add docker configuration details to README Signed-off-by: Evan Lezar --- README.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/README.md b/README.md index 0218c8b..cf2dc56 100644 --- a/README.md +++ b/README.md @@ -90,6 +90,25 @@ file (`/etc/containerd/config.toml` by default): ``` Remember to restart containerd for any configuration changes to take effect. + +### Docker configuration + +To enable and configure CDI support in the [Docker Daemon](https://github.com/moby/moby) +[Docker 25](https://github.com/moby/moby/releases/tag/v25.0.0) or later is required. + +In addition, the CDI feature must be enabled. That means including the following in the daemon +config (`/etc/docker/daemon.json` by default): + +```json +{ + "features": { + "cdi": true + } +} +``` + +Remember to restart to Docker daemon for any configuration changes to take effect. + ### Podman configuration [podman](https://github.com/containers/podman) does not require any specific