Skip to content

Commit

Permalink
Merge pull request compose-spec#194 from kendru/clarify-devices-format
Browse files Browse the repository at this point in the history
  • Loading branch information
ndeloof committed Sep 29, 2021
2 parents f0857c3 + 14d7dbb commit 43f6537
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion spec.md
Expand Up @@ -636,11 +636,13 @@ device_cgroup_rules:

### devices

`devices` defines a list of device mappings for created containers.
`devices` defines a list of device mappings for created containers in the form of
`HOST_PATH:CONTAINER_PATH[:CGROUP_PERMISSIONS]`.

```yml
devices:
- "/dev/ttyUSB0:/dev/ttyUSB0"
- "/dev/sda:/dev/xvda:rwm"
```

### dns
Expand Down

0 comments on commit 43f6537

Please sign in to comment.