mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-11-03 00:23:48 +00:00
35 lines
1008 B
YAML
35 lines
1008 B
YAML
kernel:
|
|
image: "linuxkit/kernel:4.9.x"
|
|
cmdline: "console=ttyS1 page_poison=1"
|
|
init:
|
|
- linuxkit/init:cbd7ae748f0a082516501a3e914fa0c924ee941e
|
|
- linuxkit/runc:24dfe632ed3ff53a026ee3fac046fd544434e2d6
|
|
- linuxkit/containerd:f1130450206d4f64f0ddc13d15bb68435aa1ff61
|
|
- linuxkit/ca-certificates:4e9a83e890e6477dcd25029fc4f1ced61d0642f4
|
|
onboot:
|
|
- name: sysctl
|
|
image: "linuxkit/sysctl:225c52c2d6f04a040663bac84cabf81825027f64"
|
|
services:
|
|
- name: rngd
|
|
image: "linuxkit/rngd:69f951ce2a3a9534dbbc7ba8119e1df4391f06c0"
|
|
- name: dhcpcd
|
|
image: "linuxkit/dhcpcd:ae03169274d19fe8841314fa5a6fea3c61adbf4e"
|
|
- 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
|