Skip to content

Commit

Permalink
Merge pull request #191 from elezar/add-docker-to-readme
Browse files Browse the repository at this point in the history
Add docker configuration details to README
  • Loading branch information
marquiz authored Jan 24, 2024
2 parents bb0e178 + fd2974d commit 58391db
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 58391db

Please sign in to comment.