Skip to content

Commit

Permalink
Add docker configuration details to README
Browse files Browse the repository at this point in the history
Signed-off-by: Evan Lezar <[email protected]>
  • Loading branch information
elezar committed Jan 23, 2024
1 parent bb0e178 commit fd2974d
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fd2974d

Please sign in to comment.