-
Notifications
You must be signed in to change notification settings - Fork 0
/
linuxkit.yml
69 lines (69 loc) · 1.74 KB
/
linuxkit.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
kernel:
image: linuxkit/kernel:4.19.34
cmdline: console=tty0 console=ttyS0 # console=ttyAMA0 console=ttysclp0
init:
- linuxkit/init:v0.6
- linuxkit/runc:v0.6
- linuxkit/containerd:v0.6
- linuxkit/ca-certificates:v0.6
- overneath/serf:0.8
onboot:
- name: rng1
image: linuxkit/rngd:v0.6
command: ["/sbin/rngd", "-1"]
- name: metadata
image: linuxkit/metadata:v0.6
- name: sysctl
image: linuxkit/sysctl:v0.6
- name: sysfs
image: linuxkit/sysfs:v0.6
- name: binfmt
image: linuxkit/binfmt:v0.6
- name: format
image: linuxkit/format:v0.6
- name: mount
image: linuxkit/mount:v0.6
command: ["/usr/bin/mountie", "/var/lib"]
- name: dhcpcd
image: linuxkit/dhcpcd:v0.6
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
services:
- name: acpid
image: linuxkit/acpid:v0.6
- name: getty
image: linuxkit/getty:v0.6
env:
- INSECURE=true
- name: ntpd
image: linuxkit/openntpd:v0.6
- name: rngd
image: linuxkit/rngd:v0.6
- name: serf
image: library/alpine:3.8
capabilities:
- all
mounts:
- type: cgroup
options: ["rw","nosuid","noexec","nodev","relatime"]
- type: tmpfs
destination: /tmp
binds:
- /etc/nsswitch.conf:/etc/nsswitch.conf
- /etc/resolv.conf:/etc/resolv.conf
- /opt/local/bin:/usr/local/bin
- /run/config/serf:/etc/serf
- /var/lib/serf:/var/lib/serf
command: [/usr/local/bin/serf, agent, -config-dir=/etc/serf, -tags-file=/var/lib/serf/tags.json]
runtime:
mkdir:
- /run/config/serf
- /var/lib/serf
files:
- path: etc/linuxkit.yml
metadata: yaml
- path: etc/nsswitch.conf
contents: "hosts: files dns"
trust:
org:
- library
- linuxkit