Merge pull request #572 from hqhq/hq_fix_spec

some fixes for SPEC
This commit is contained in:
Michael Crosby 2015-05-06 11:00:51 -07:00
commit 08cf3beaf0
1 changed files with 6 additions and 5 deletions

11
SPEC.md
View File

@ -15,7 +15,7 @@ with a strong security configuration.
### System Requirements and Compatibility ### System Requirements and Compatibility
Minimum requirements: Minimum requirements:
* Kernel version - 3.8 recommended 2.6.2x minimum(with backported patches) * Kernel version - 3.10 recommended 2.6.2x minimum(with backported patches)
* Mounted cgroups with each subsystem in its own hierarchy * Mounted cgroups with each subsystem in its own hierarchy
@ -28,11 +28,9 @@ Minimum requirements:
| CLONE_NEWIPC | 1 | | CLONE_NEWIPC | 1 |
| CLONE_NEWNET | 1 | | CLONE_NEWNET | 1 |
| CLONE_NEWNS | 1 | | CLONE_NEWNS | 1 |
| CLONE_NEWUSER | 0 | | CLONE_NEWUSER | 1 |
In v1 the user namespace is not enabled by default for support of older kernels Namespaces are created for the container via the `clone` syscall.
where the user namespace feature is not fully implemented. Namespaces are
created for the container via the `clone` syscall.
### Filesystem ### Filesystem
@ -143,6 +141,7 @@ system resources like cpu, memory, and device access.
| blkio | 1 | | blkio | 1 |
| perf_event | 1 | | perf_event | 1 |
| freezer | 1 | | freezer | 1 |
| hugetlb | 1 |
All cgroup subsystem are joined so that statistics can be collected from All cgroup subsystem are joined so that statistics can be collected from
@ -165,6 +164,7 @@ provide a good default for security and flexibility for the applications.
| -------------------- | ------- | | -------------------- | ------- |
| CAP_NET_RAW | 1 | | CAP_NET_RAW | 1 |
| CAP_NET_BIND_SERVICE | 1 | | CAP_NET_BIND_SERVICE | 1 |
| CAP_AUDIT_READ | 1 |
| CAP_AUDIT_WRITE | 1 | | CAP_AUDIT_WRITE | 1 |
| CAP_DAC_OVERRIDE | 1 | | CAP_DAC_OVERRIDE | 1 |
| CAP_SETFCAP | 1 | | CAP_SETFCAP | 1 |
@ -317,6 +317,7 @@ a container.
| Pause | Pause all processes inside the container | | Pause | Pause all processes inside the container |
| Resume | Resume all processes inside the container if paused | | Resume | Resume all processes inside the container if paused |
| Exec | Execute a new process inside of the container ( requires setns ) | | Exec | Execute a new process inside of the container ( requires setns ) |
| Set | Setup configs of the container after it's created |
### Execute a new process inside of a running container. ### Execute a new process inside of a running container.