system → onboot daemon → services

As suggested by @shykes these are clearer

- onboot for things that are run at boot time to completion
- services for persistent services

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
This commit is contained in:
Justin Cormack
2017-04-08 16:56:47 +01:00
parent 5956f7203a
commit eb22d6909f
18 changed files with 57 additions and 59 deletions

View File

@@ -3,7 +3,7 @@ kernel:
cmdline: "console=ttyS0 page_poison=1 security=selinux selinux=1"
init:
- "mobylinux/init:b5249a412536b4e69f8e1f668680d2ae185cc505"
system:
onboot:
- name: sysctl
image: "mobylinux/sysctl:2cf2f9d5b4d314ba1bfc22b2fe931924af666d8c"
net: host
@@ -12,7 +12,7 @@ system:
capabilities:
- CAP_SYS_ADMIN
readonly: true
daemon:
services:
- name: rngd
image: "mobylinux/rngd:3dad6dd43270fa632ac031e99d1947f20b22eec9@sha256:1c93c1db7196f6f71f8e300bc1d15f0376dd18e8891c8789d77c8ff19f3a9a92"
capabilities: