mirror of
https://github.com/linuxkit/linuxkit.git
synced 2026-04-05 14:01:13 +00:00
- Use the new style kernel tags with the full kernel version - Update packages with new alpine base and new/simplified Makefiles. Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
47 lines
1.8 KiB
YAML
47 lines
1.8 KiB
YAML
kernel:
|
|
image: "linuxkit/kernel:4.9.34"
|
|
cmdline: "console=ttyS0 console=tty0 page_poison=1"
|
|
init:
|
|
- linuxkit/init:1b8a7e394d2ec2f1fdb4d67645829d1b5bdca037
|
|
- linuxkit/runc:2649198589ef0020d99f613adaeda45ce0093a38
|
|
- linuxkit/containerd:1e3e8f207421de8deac8cedc26a138d6b1661a0d
|
|
- linuxkit/ca-certificates:46b59484919bfa9af700e54e042048cb06261de4
|
|
onboot:
|
|
- name: sysctl
|
|
image: "linuxkit/sysctl:3aa6bc663c2849ef239be7d941d3eaf3e6fcc018"
|
|
binds:
|
|
- /etc/sysctl.d/01-swarmd.conf:/etc/sysctl.d/01-swarmd.conf
|
|
- name: dhcpcd
|
|
image: "linuxkit/dhcpcd:6c1ca76dbf808d5c27d10cbf22a8d4399be5c8ae"
|
|
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
|
- name: format
|
|
image: "linuxkit/format:ba085fdcac31c383acee3b4b91d78eb7095e5ac3"
|
|
- name: mount
|
|
image: "linuxkit/mount:fe22dc5cbf109b4637b1caaafc76ccbf5140c3da"
|
|
command: ["/mount.sh", "/var/lib/swarmd"]
|
|
- name: metadata
|
|
image: "linuxkit/metadata:4e73345cdcb4f7e9df07b0ee7aede652960297f2"
|
|
services:
|
|
- name: qemu-ga
|
|
image: "linuxkit/qemu-ga:2dbdc6523df576773b7c7d56d3a394429a4488ce"
|
|
binds:
|
|
- /dev/vport0p1:/dev/vport0p1
|
|
- name: rngd
|
|
image: "linuxkit/rngd:b50b22dd574c5377708977af769f053009fff6d5"
|
|
- name: ntpd
|
|
image: "linuxkit/openntpd:a4c642d52e985922fcd97db52e471db123cc6841"
|
|
- name: swarmd
|
|
image: "linuxkit/swarmd:1002422b78339a767559058d704b086889e90447"
|
|
command: ["/usr/bin/swarmd", "--containerd-addr=/run/containerd/containerd.sock", "--log-level=debug", "--state-dir=/var/lib/swarmd"]
|
|
capabilities:
|
|
- all
|
|
pid: host
|
|
binds:
|
|
- /run/containerd/containerd.sock:/run/containerd/containerd.sock
|
|
- /var/lib/containerd:/var/lib/containerd
|
|
- /var/lib/swarmd:/var/lib/swarmd
|
|
- /etc/resolv.conf:/etc/resolv.conf
|
|
files:
|
|
- path: /etc/sysctl.d/01-swarmd.conf
|
|
contents: 'net.ipv4.ip_forward = 1'
|