Files
linuxkit/examples/vpnkit-forwarder.yml
Ian Campbell bb6f1c0f7c Bump yml to pickup containerd v1.1.0-rc.2
Also pick a newer version of runc.

Signed-off-by: Ian Campbell <ijc@docker.com>
2018-04-18 14:12:49 +01:00

39 lines
1.0 KiB
YAML

kernel:
image: linuxkit/kernel:4.14.34
cmdline: "console=ttyS0"
init:
- linuxkit/init:d0bf64f4cea42bea71e7d8f8832ba497bb822e89
- linuxkit/runc:acba8886e4b1318457c711700f695a02fef9493d
- linuxkit/containerd:100d0d046c5061d75ee43e4ac5017a759109cae4
onboot:
- name: dhcpcd
image: linuxkit/dhcpcd:v0.3
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:v0.3
- name: vpnkit-forwarder
image: linuxkit/vpnkit-forwarder:v0.3
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