Commit Graph

509 Commits

Author SHA1 Message Date
Vincent Batts 4e3c1c31f5 Merge pull request #220 from mrunalp/fix_extra_space
Remove extra space from VersionMinor
2015-10-08 10:08:33 -04:00
Zefan Li 3d789d74a8 README: Fix some headers
Signed-off-by: Zefan Li <lizefan@huawei.com>
2015-10-08 15:33:09 +08:00
Mrunal Patel 346a898ba8 Fix an extra space in VersionMinor
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
2015-10-07 16:39:50 -04:00
Mrunal Patel cf8dd12093 Merge pull request #210 from duglin/modBundle
Cleanup bundle.md
2015-10-07 12:13:42 -07:00
Vincent Batts 663ba5286b Merge pull request #209 from duglin/modPrinciples
Cleanup principles
2015-10-07 15:04:15 -04:00
Doug Davis 106ec2daa0 Cleanup bundle.md
Mainly just moved stuff around, but also tried to add some clarity around
what is required w.r.t. naming and location of files/dirs.

Signed-off-by: Doug Davis <dug@us.ibm.com>
2015-10-07 10:22:39 -07:00
Doug Davis 4dfd127f04 Cleanup principles
I didn't really change much, just moved somes stuff around and expanded
a little more in number 5.

I moved all of the physical shipping container stuff to just the into
because while its a cute analogy, repeating it over and over just got
in the way of the real point - and by number 5 we endedup having more text
about shipping containers than our containers - which was just weird.

Signed-off-by: Doug Davis <dug@us.ibm.com>
2015-10-07 10:11:40 -07:00
Mrunal Patel 96cfd7c4b6 Merge pull request #218 from laijs/comma
Remove trailing comma in hooks json example
2015-10-07 08:32:09 -07:00
Vincent Batts a4db8e9f4d Merge pull request #217 from mrunalp/fix_ids
Use unsigned for IDs
2015-10-07 09:53:17 -04:00
Lai Jiangshan c619553ce7 Remove trailing comma in hooks json example
see also #196

Signed-off-by: Lai Jiangshan <jiangshanlai@gmail.com>
2015-10-07 16:49:29 +08:00
Mrunal Patel 7352b37e54 Use unsigned for IDs
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
2015-10-06 14:40:46 -04:00
Michael Crosby 3633d035e8 Merge pull request #215 from vbatts/move-out-commit-validation
.tools: commit validator is a separate project
2015-10-06 10:13:42 -07:00
Vincent Batts ad149f934f .tools: commit validator is a separate project
Moving this tool to https://github.com/vbatts/git-validation so that
iteration on it will not be noise for this project.

Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2015-10-06 10:58:14 -04:00
W. Trevor King 66a0543e10 config: Require a new UTS namespace for config.json's hostname
The UTS namespace is for hostnames and NIS domain names [1].  Without
a new namespace, the hostname entry would clobber the host
environment's hostname.

Clobbering the host's hostname or a joined-namespace's hostname might
be acceptable for folks who trust their bundles, but it's not allowed
by the "error out if the config specifies anything else related to
that namespace" language that landed in 02b456e9 (Clarify behavior
around namespaces paths, 2015-09-08, #158).

[1]: http://man7.org/linux/man-pages/man7/namespaces.7.html

Signed-off-by: W. Trevor King <wking@tremily.us>
2015-10-05 20:20:31 -07:00
Vincent Batts 98e5ff7aae Merge pull request #212 from crosbymichael/wiki
Update readme with wiki link to minutes
2015-10-05 18:12:05 -04:00
Michael Crosby fe096749b4 Merge pull request #211 from duglin/tweakRuntime
Add some clarity around the state.json file
2015-10-05 13:08:40 -07:00
Michael Crosby b0bbf989fb Update readme with wiki link to minutes
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2015-10-05 12:52:50 -07:00
Mrunal Patel f75f23fe4e Merge pull request #142 from wking/explicitly-define-mount-order
config: Require the runtime to mount Spec.Mounts in order
2015-10-05 12:02:41 -07:00
Doug Davis 44d9ba6a5e Add some clarity around the state.json file
Signed-off-by: Doug Davis <dug@us.ibm.com>
2015-10-05 10:28:54 -07:00
Antonio Murdaca 2ce2c866ff runtime: config: linux: add cgroups information
- add information to cgroup resources controllers with examples
- add pids cgroup information and example
- reflect kernel types

Signed-off-by: Antonio Murdaca <runcom@linux.com>
2015-10-02 23:36:46 +02:00
Michael Crosby 294b77cdba Merge pull request #208 from jonboulle/master
runtime.md: fix spacing
2015-10-01 11:08:41 -07:00
Jonathan Boulle 5796e343dd runtime.md: fix spacing
Signed-off-by: Jonathan Boulle <jonathanboulle@gmail.com>
2015-10-01 10:37:38 -07:00
Mrunal Patel 023c751ee4 Merge pull request #202 from LK4D4/post_start
Add post-start hooks
2015-09-30 12:04:10 -07:00
Alexander Morozov 8c7b01be48 Add post-start hooks
Signed-off-by: Alexander Morozov <lk4d4@docker.com>
2015-09-29 13:40:34 -07:00
Mrunal Patel 2078b319c8 Merge pull request #206 from crosbymichael/bundle-state
Rename State's Root to Bundle
2015-09-29 12:33:23 -07:00
Michael Crosby 34def3a09c Rename State's Root to Bundle
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2015-09-29 12:09:32 -07:00
Vincent Batts d521b54a1e Merge pull request #205 from runcom/travis-go-versions
.travis.yml: add go 1.5.1, update from 1.4.2 to 1.4.3
2015-09-29 13:24:40 -04:00
Antonio Murdaca f3e5c1f983 .travis.yml: add go 1.5.1, update from 1.4.2 to 1.4.3
Signed-off-by: Antonio Murdaca <runcom@linux.com>
2015-09-29 19:04:01 +02:00
Mrunal Patel 11365355ae Merge pull request #203 from zenlinTechnofreak/master
Change version from 0.1.0 to 0.2.0
2015-09-29 10:01:58 -07:00
Mrunal Patel c5c924ffe2 Merge pull request #204 from laijs/pretty
convert **name** to **`name`**
2015-09-29 10:01:20 -07:00
Lai Jiangshan 26d39ae967 convert **name** to **`name`**
we have both styles in the *.md, we should use only one of the styles.
**`name`** is much prettier than **name** in the result,
so we use **`name`**

Signed-off-by: Lai Jiangshan <jiangshanlai@gmail.com>
2015-09-29 22:19:26 +08:00
Lai Jiangshan e324f2b6bb remove blank char from blank line
Signed-off-by: Lai Jiangshan <jiangshanlai@gmail.com>
2015-09-29 22:09:45 +08:00
linzhinan 76860941a1 Change version from 0.1.0 to 0.2.0
Signed-off-by: linzhinan <linzhinan@huawei.com>
2015-09-29 13:35:35 +08:00
Michael Crosby 03bf64fd3f Merge pull request #176 from vbatts/docs-overhaul
Docs overhaul
2015-09-25 10:11:01 -07:00
Vincent Batts 2d3065b335 hooks: deduplicate the hooks docs
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2015-09-25 11:50:22 -04:00
Vincent Batts dd6ae21564 runtime-config: add section about Hooks
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2015-09-25 11:50:20 -04:00
Vincent Batts 70372d3880 *.md: update TOC and links
Some of the docs were not even linked to, and did not have a logic
outline for their grouping.

Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2015-09-25 11:47:16 -04:00
Mrunal Patel 83e5943978 Merge pull request #200 from mheon/seccomp_architecture
Add Architecture field to Seccomp configuration in Linux runtime
2015-09-23 14:10:59 -07:00
Matthew Heon 215d0d98c7 Add Seccomp constants to description of Linux runtime spec
Signed-off-by: Matthew Heon <mheon@redhat.com>
2015-09-23 15:16:49 -04:00
Matthew Heon 5fd7dce527 Add Seccomp constants to Linux runtime config
Signed-off-by: Matthew Heon <mheon@redhat.com>
2015-09-23 15:04:54 -04:00
Matthew Heon 508743563d Add Architecture field to Seccomp configuration in Linux runtime
By default, Seccomp filters will only permit syscalls to be made using the
native architecture of the kernel. This is fine for most use cases, but breaks
others (such as running 32-bit code in a container on a host with a 64-bit
kernel). This patch adds a field to specify additional architectures which may
make syscalls.

Signed-off-by: Matthew Heon <mheon@redhat.com>
2015-09-23 14:27:23 -04:00
Vincent Batts a28afa1058 principles: Give principles their own home
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2015-09-18 10:40:26 -04:00
Vincent Batts dbac706bac README: make header more concise
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2015-09-18 10:39:51 -04:00
Vincent Batts 96bcd043aa Merge pull request #198 from runcom/hugepagetlb-limit-type
Change HugepageLimit.Limit type to uint64
2015-09-17 19:27:27 -04:00
Antonio Murdaca 6b5a66f7e1 Change HugepageLimit.Limit type to uint64
Signed-off-by: Antonio Murdaca <runcom@linux.com>
2015-09-18 00:48:11 +02:00
Mrunal Patel 5e633ba00b Merge pull request #197 from gao-feng/rlimits
move the description of Rlimits before example
2015-09-17 15:12:18 -07:00
Mrunal Patel 3720db3c04 Merge pull request #193 from runcom/blkio-fixes
runtime: config: linux: Edit BlockIO struct
2015-09-17 15:10:59 -07:00
Antonio Murdaca e9d3ac025d runtime: config: linux: Edit BlockIO struct
`WeightDevice`, `ThrottleReadBpsDevice`, `ThrottleWriteBpsDevice`,
`ThrottleReadIOpsDevice`, `ThrottleWriteIOpsDevice` are now slices to
well defined structs to allow setting multiple devices in their respective
blkio file. By using a string to represents those values it wasn't possible
to set correct values when multiple devices were passed in the config
(either newline separated or comma separated).

Signed-off-by: Antonio Murdaca <runcom@linux.com>
2015-09-17 20:56:45 +02:00
Mrunal Patel 8e00c3f76c Merge pull request #196 from runcom/fix-typo-namespaces
runtime: config: linux: Remove trailing comma in namespaces json example
2015-09-17 10:56:19 -07:00
Antonio Murdaca 75cb11ce4a runtime: config: linux: Fix typo and trailing commas in json example
Signed-off-by: Antonio Murdaca <runcom@linux.com>
2015-09-17 12:27:08 +02:00