mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-12-24 11:03:31 +00:00
39 lines
1.1 KiB
YAML
39 lines
1.1 KiB
YAML
kernel:
|
|
image: linuxkit/kernel:4.19.34
|
|
cmdline: "console=ttyS0"
|
|
init:
|
|
- linuxkit/init:3a772fafa2e45b872c72375dd6bc34993257b6d1
|
|
- linuxkit/runc:02f2f6dd425eb3ff98f488b5cdef0125be787332
|
|
- linuxkit/containerd:d197495c30d0c6e81cb038d8ab3b8f793736b39d
|
|
onboot:
|
|
- name: dhcpcd
|
|
image: linuxkit/dhcpcd:85738d3d2f152a7879e17a61444f7714b858c2ee
|
|
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
|
- name: mount-vpnkit
|
|
image: alpine:3.9
|
|
binds:
|
|
- /var/:/host_var:rbind,rshared
|
|
capabilities:
|
|
- CAP_SYS_ADMIN
|
|
rootfsPropagation: shared
|
|
command: ["sh", "-c", "mkdir /host_var/vpnkit && mount -v -t 9p -o trans=virtio,dfltuid=1001,dfltgid=50,version=9p2000 port /host_var/vpnkit"]
|
|
services:
|
|
- name: sshd
|
|
image: linuxkit/sshd:6e4740bee64bf44e9913a1db4a38b5c3a5fb6ab1
|
|
- name: vpnkit-forwarder
|
|
image: linuxkit/vpnkit-forwarder:47a75f790250c01d18d0463de9d9943dab50f027
|
|
binds:
|
|
- /var/vpnkit:/port
|
|
net: host
|
|
command: ["/vpnkit-forwarder"]
|
|
|
|
files:
|
|
- path: root/.ssh/authorized_keys
|
|
source: ~/.ssh/id_rsa.pub
|
|
mode: "0600"
|
|
optional: true
|
|
|
|
trust:
|
|
org:
|
|
- linuxkit
|