mirror of
https://github.com/linuxkit/linuxkit.git
synced 2026-04-06 22:33:46 +00:00
39 lines
1.1 KiB
YAML
39 lines
1.1 KiB
YAML
kernel:
|
|
image: linuxkit/kernel:4.14.32
|
|
cmdline: "console=ttyS0"
|
|
init:
|
|
- linuxkit/init:be60dd1cb15ad39225512b6753304571d8c2fb17
|
|
- linuxkit/runc:17e8c06e48ac220be79b2476e39b4d7feb905524
|
|
- linuxkit/containerd:87ea9b027267b26bf5cc2d10a50c3eb9b5017df4
|
|
onboot:
|
|
- name: dhcpcd
|
|
image: linuxkit/dhcpcd:8b23f047ffa4d657a2c7dd465e69cc13721c4165
|
|
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
|
- name: mount-vpnkit
|
|
image: alpine:3.7
|
|
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:b24724013759bbcb084600d1157735ccfc9aa615
|
|
- name: vpnkit-forwarder
|
|
image: linuxkit/vpnkit-forwarder:9dad2e9fb848d6452232deb01e08beda7ba00d21
|
|
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
|