mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-12-24 14:42:28 +00:00
And remove all the config options as they are now in the label. Signed-off-by: Justin Cormack <justin.cormack@docker.com>
47 lines
1.2 KiB
YAML
47 lines
1.2 KiB
YAML
kernel:
|
|
image: "linuxkit/kernel:4.9.x"
|
|
cmdline: "console=ttyS1 page_poison=1"
|
|
init:
|
|
- linuxkit/init:cbd7ae748f0a082516501a3e914fa0c924ee941e
|
|
- linuxkit/runc:24dfe632ed3ff53a026ee3fac046fd544434e2d6
|
|
- linuxkit/containerd:1c71f95fa36040ea7e987deb98a7a2a363853f01
|
|
- linuxkit/ca-certificates:4e9a83e890e6477dcd25029fc4f1ced61d0642f4
|
|
onboot:
|
|
- name: sysctl
|
|
image: "linuxkit/sysctl:13a37b8d38fbec34d8c7d3bd4dadb57c9f92c94c"
|
|
services:
|
|
- name: rngd
|
|
image: "linuxkit/rngd:c97ef16be340884a985d8b025983505a9bcc51f0"
|
|
capabilities:
|
|
- CAP_SYS_ADMIN
|
|
oomScoreAdj: -800
|
|
- name: dhcpcd
|
|
image: "linuxkit/dhcpcd:cb96c09a33c166eca6530f166f0f79927c3e83b0"
|
|
binds:
|
|
- /var:/var
|
|
- /tmp:/etc
|
|
capabilities:
|
|
- CAP_NET_ADMIN
|
|
- CAP_NET_BIND_SERVICE
|
|
- CAP_NET_RAW
|
|
net: host
|
|
oomScoreAdj: -800
|
|
- name: sshd
|
|
image: "linuxkit/sshd:1613253e5def414e0dfd261acd0e191eadb5fedf"
|
|
capabilities:
|
|
- all
|
|
net: host
|
|
pid: host
|
|
binds:
|
|
- /root/.ssh:/root/.ssh
|
|
- /etc/resolv.conf:/etc/resolv.conf
|
|
trust:
|
|
image:
|
|
- linuxkit/kernel
|
|
- linuxkit/rngd
|
|
files:
|
|
- path: root/.ssh/authorized_keys
|
|
contents: '#your ssh key here'
|
|
outputs:
|
|
- format: kernel+initrd
|