mirror of
https://github.com/linuxkit/linuxkit.git
synced 2026-01-13 20:58:49 +00:00
39 lines
1.1 KiB
YAML
39 lines
1.1 KiB
YAML
kernel:
|
|
image: linuxkit/kernel:4.19.28
|
|
cmdline: "console=ttyS0"
|
|
init:
|
|
- linuxkit/init:005807f5c6a74e23f485a6d1657818bdccb70cd0
|
|
- linuxkit/runc:606971451ea29b4238029804ca638f9f85caf5af
|
|
- linuxkit/containerd:6e6841be5ad15c30752d81d121b247fa3ae08c97
|
|
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
|