A toolkit for building secure, portable and lean operating systems for containers
Go to file
Justin Cormack c1c71a7f68 Allow overriding the default mount options
This refactors the mount handling, without changing any defaults.

Any specification of a mount destination will override the default,
so if you want to make `sysfs` read only you can add

```
mounts:
  - type: sysfs
    options: ["ro"]
```

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2017-04-05 15:00:13 +01:00
src/cmd/moby Allow overriding the default mount options 2017-04-05 15:00:13 +01:00