diff --git a/examples/aws.yml b/examples/aws.yml new file mode 100644 index 000000000..7d12fe7f3 --- /dev/null +++ b/examples/aws.yml @@ -0,0 +1,36 @@ +kernel: + image: "linuxkit/kernel:4.9.x" + cmdline: "console=ttyS0 page_poison=1" +init: + - linuxkit/init:1b8a7e394d2ec2f1fdb4d67645829d1b5bdca037 + - linuxkit/runc:3a4e6cbf15470f62501b019b55e1caac5ee7689f + - linuxkit/containerd:deaf5bf838bf7f131c2287ecff3ed9835b0497e2 + - linuxkit/ca-certificates:75cf419fb58770884c3464eb687ec8dfc704169d +onboot: + - name: sysctl + image: "linuxkit/sysctl:3aa6bc663c2849ef239be7d941d3eaf3e6fcc018" + - name: dhcpcd + image: "linuxkit/dhcpcd:7d2b8aaaf20c24ad7d11a5ea2ea5b4a80dc966f1" + command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"] + - name: metadata + image: "linuxkit/metadata:31a0b0f5557c6123beaa9c33e3400ae3c03447e0" +services: + - name: rngd + image: "linuxkit/rngd:1fa4de44c961bb5075647181891a3e7e7ba51c31" + - name: sshd + image: "linuxkit/sshd:abc1f5e096982ebc3fb61c506aed3ac9c2ae4d55" + binds: + - /var/config/ssh/authorized_keys:/root/.ssh/authorized_keys + - name: nginx + image: "nginx:alpine" + capabilities: + - CAP_NET_BIND_SERVICE + - CAP_CHOWN + - CAP_SETUID + - CAP_SETGID + - CAP_DAC_OVERRIDE +trust: + org: + - linuxkit + image: + - nginx:alpine diff --git a/examples/gcp.yml b/examples/gcp.yml index 5c6dfb482..7d12fe7f3 100644 --- a/examples/gcp.yml +++ b/examples/gcp.yml @@ -13,14 +13,14 @@ onboot: image: "linuxkit/dhcpcd:7d2b8aaaf20c24ad7d11a5ea2ea5b4a80dc966f1" command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"] - name: metadata - image: "linuxkit/metadata:4e73345cdcb4f7e9df07b0ee7aede652960297f2" + image: "linuxkit/metadata:31a0b0f5557c6123beaa9c33e3400ae3c03447e0" services: - name: rngd image: "linuxkit/rngd:1fa4de44c961bb5075647181891a3e7e7ba51c31" - name: sshd image: "linuxkit/sshd:abc1f5e096982ebc3fb61c506aed3ac9c2ae4d55" + binds: - /var/config/ssh/authorized_keys:/root/.ssh/authorized_keys - - /tmp/etc/resolv.conf:/etc/resolv.conf - name: nginx image: "nginx:alpine" capabilities: