Files
linuxkit/examples/vpnkit-forwarder.yml
Ian Campbell 6e16071bfe Bump yml to pickup containerd v1.2.3
Also pick a newer version of runc.

Signed-off-by: Ian Campbell <ijc@docker.com>
2019-02-11 10:05:14 +00:00

39 lines
1.1 KiB
YAML

kernel:
image: linuxkit/kernel:4.19.20
cmdline: "console=ttyS0"
init:
- linuxkit/init:4448c4b6d4308244160b71c423bc9df32bc180db
- linuxkit/runc:a81d48a1568f41b1c2e048fe017dbd88c6a4bdcc
- linuxkit/containerd:56e03cfa92d75d6eb5a7fc44742e50f427ba29a3
onboot:
- name: dhcpcd
image: linuxkit/dhcpcd:v0.6
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
- name: mount-vpnkit
image: alpine:3.8
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:c4bc89cf0d66733c923ab9cb46198b599eb99320
- name: vpnkit-forwarder
image: linuxkit/vpnkit-forwarder:v0.6
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