mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-12-24 11:03:31 +00:00
39 lines
1.1 KiB
YAML
39 lines
1.1 KiB
YAML
kernel:
|
|
image: linuxkit/kernel:4.14.54
|
|
cmdline: "console=ttyS0"
|
|
init:
|
|
- linuxkit/init:720920b4a1b4dd90c99e8f91d543381798c4c3cb
|
|
- linuxkit/runc:01b4f0706d999f9065ef44492689e43d0bcd83c5
|
|
- linuxkit/containerd:92c92a485b881b7b589ccc4a6279224931c8cadf
|
|
onboot:
|
|
- name: dhcpcd
|
|
image: linuxkit/dhcpcd:0aa201ad1a4c134f0ed6ab2cec23602d5ee73d7f
|
|
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:ae16b868747913bad83ad1b5823669eff1563013
|
|
- name: vpnkit-forwarder
|
|
image: linuxkit/vpnkit-forwarder:e474ea69ccc48157b6b8053a9a5814af46b58707
|
|
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
|