containers / containers/podlet
Can't convert compose service with CDI device
- Dominant language
- Rust
- Stars
- 1.6k
- Forks
- 48
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 1
Description
Consider the following service:
```
jellyfin:
image: docker.io/jellyfin/jellyfin:latest
container_name: jellyfin
restart: unless-stopped
#user: 973:973 # media:media
group_add:
- video
ports:
- 127.0.0.1:8096:8096
volumes:
- ./jellyfin/config:/config
- ./jellyfin/cache:/cache
- /mnt/hdd/media:/data/media
devices:
- nvidia.com/gpu=all
security_opt:
- label=disable
```
Ignore the fact that the user entry would fail with podlet due to https://github.com/containers/podlet/issues/106, another validation failure is triggered by the devices entry.
```
Error:
0: error converting compose file
1: error reading compose file
2: File `/compose.yml` is not a valid compose file
3: services.jellyfin.devices[0]: device must have a container path at line 45 column 9
Location:
src/cli/compose.rs:203
Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.
```
Contributor guide
Assessment
This issue has not been assessed yet.