mreithub / rocker

Docker wrapper
Apache License 2.0
4 stars 0 forks source link

Implement `NetworkMode` and `Privileged` settings #10

Closed mreithub closed 9 years ago

mreithub commented 9 years ago

Some containers require their processes to use the host's resources directly. To facilitate that, the container config needs to support Docker's NetworkMode as well as its Privileged setting.

Implementing those will allow rocker users to dockerize services (and therefore simplify their deployment) that otherwise could only be run directly on the host.

mreithub commented 9 years ago

Instead of Privileged, CapAdd and CapDrop might be better suited, e.g.:

{
  ...
  "capAdd": ["NET_ADMIN", "SYS_CHROOT",
  "capDel": ["SYS_ADMIN"]
}