Files
linuxkit/examples/vpnkit-forwarder.yml
Rolf Neugebauer 401df21923 Update YAMLs to the latest kernels
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@gmail.com>
2018-03-30 14:28:26 +01:00

39 lines
1.1 KiB
YAML

kernel:
image: linuxkit/kernel:4.14.31
cmdline: "console=ttyS0"
init:
- linuxkit/init:7af4e32f31f04d6c63d457c502d2f69344db7d72
- linuxkit/runc:e4b01b68b225d694a60f8b335258bd2144971239
- linuxkit/containerd:d03b69c7d23fdae0fec1b6e62a72d362992135df
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