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

@@ -2,11 +2,11 @@ kernel:
image: "mobylinux/kernel:4.9.x"
cmdline: "console=ttyS0"
init:
- mobylinux/init:925c88f42d92d57cd36b656db1f8757b152163a7
- mobylinux/init:02f05d99b4eb9cd9223bb5915f4070cf7b67c862
- mobylinux/runc:b0fb122e10dbb7e4e45115177a61a3f8d68c19a9
- mobylinux/containerd:68bb523deea09da293d675cbf88474eced540b8c
- mobylinux/ca-certificates:eabc5a6e59f05aa91529d80e9a595b85b046f935
system:
onboot:
- name: binfmt
image: "mobylinux/binfmt:bdb754f25a5d851b4f5f8d185a43dfcbb3c22d01"
binds:
@@ -18,7 +18,7 @@ system:
capabilities:
- CAP_SYS_BOOT
readonly: true
daemon:
services:
- name: dhcpcd
image: "mobylinux/dhcpcd:3eb32da7ff8051f61e0f18edd90dd0fbfcf148ea"
binds: