Commit Graph

6 Commits

Author SHA1 Message Date
Doug Davis e14e82648c Talk about host specific/independent instead of mutability
Cover my action item from this week's OCI call.

Also moved State json out of config.go since its not really part of
the config.json file/config.

Signed-off-by: Doug Davis <dug@us.ibm.com>
2015-10-30 07:34:53 -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
Vincent Batts 752f35c86f runtime_config: comments for golint
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2015-09-04 15:47:17 -04:00
Alexander Morozov c18c283a17 Change layout of mountpoints and mounts
Added info about MountPoints to config.md.

Signed-off-by: Alexander Morozov <lk4d4@docker.com>

Signed-off-by: W. Trevor King <wking@tremily.us>
2015-09-02 21:04:44 -07:00
Timothy Hobbs 73bf1ba833
JSON objects are easier to parse/manipulate
Don't use strings when you can use dictionaries/objects. JSON objects are trivial to parse and manipulate, unlike strings. String parsing is the #1 cause of security bugs, so if it can be trivially avoided, then why not ;)
2015-08-27 22:19:27 +02:00
Brandon Philips 7232e4b137 specs: introduce the concept of a runtime.json
Based on our discussion in-person yesterday it seems necessary to
separate the concept of runtime configuration from application
configuration. There are a few motivators:

- To support runtime updates of things like cgroups, rlimits, etc we
  should separate things that are inherently runtime specific from
  things that are static to the application running in the container.

- To support the goal of being able to move a bundle between hosts we
  should make it clear what parts of the spec are and are not portable
  between hosts so that upon landing on a new host the non-portable
  options may be rewritten or removed.

- In order to attach a cryptographic identity to a bundle we must not
  include details in the bundle that are host specific.
2015-08-26 09:44:09 -07:00