mirror of
https://github.com/linuxkit/linuxkit.git
synced 2026-01-14 01:38:23 +00:00
39 lines
1.1 KiB
YAML
39 lines
1.1 KiB
YAML
kernel:
|
|
image: linuxkit/kernel:4.14.35
|
|
cmdline: "console=ttyS0"
|
|
init:
|
|
- linuxkit/init:d0bf64f4cea42bea71e7d8f8832ba497bb822e89
|
|
- linuxkit/runc:acba8886e4b1318457c711700f695a02fef9493d
|
|
- linuxkit/containerd:100d0d046c5061d75ee43e4ac5017a759109cae4
|
|
onboot:
|
|
- name: dhcpcd
|
|
image: linuxkit/dhcpcd:01069780f536da8eb7745df7478a97253403b63d
|
|
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:8f11ee09b101ab7f41c7a6409a8d7a8d49957fbb
|
|
- name: vpnkit-forwarder
|
|
image: linuxkit/vpnkit-forwarder:49b506c4dab8789fd42b216c35a4eb1cca503b32
|
|
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
|