mirror of
https://github.com/linuxkit/linuxkit.git
synced 2026-01-13 22:39:39 +00:00
39 lines
1.1 KiB
YAML
39 lines
1.1 KiB
YAML
kernel:
|
|
image: linuxkit/kernel:4.9.76
|
|
cmdline: "console=ttyS0"
|
|
init:
|
|
- linuxkit/init:f7a3d03face99e933626533a3381ae4476fbc8de
|
|
- linuxkit/runc:7b15b00b4e3507d62e3ed8d44dfe650561cd35ff
|
|
- linuxkit/containerd:1b6b8a5884e17b26e2725cb82c436841070fca95
|
|
onboot:
|
|
- name: dhcpcd
|
|
image: linuxkit/dhcpcd:0d59a6cc03412289ef4313f2491ec666c1715cc9
|
|
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:ac5e8364e2e9aa8717a3295c51eb60b8c57373d5
|
|
- name: vpnkit-forwarder
|
|
image: linuxkit/vpnkit-forwarder:89b97912eb8eb14acbf9f6304a92aa366e59d49e
|
|
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
|