mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-09-16 15:21:46 +00:00
./scripts/update-component-sha.sh --pkg ./pkg/runc Signed-off-by: Christoph Ostarek <christoph@zededa.com>
31 lines
1.3 KiB
YAML
31 lines
1.3 KiB
YAML
# Simple example of using an external logging service
|
|
kernel:
|
|
image: linuxkit/kernel:5.10.104
|
|
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0"
|
|
init:
|
|
- linuxkit/init:45a1ad5919f0b6acf0f0cf730e9434abfae11fe6
|
|
- linuxkit/runc:6062483d748609d505f2bcde4e52ee64a3329f5f
|
|
- linuxkit/containerd:e7a92d9f3282039eac5fb1b07cac2b8664cbf0ad
|
|
- linuxkit/ca-certificates:5aaa343474e5ac3ac01f8b917e82efb1063d80ff
|
|
- linuxkit/memlogd:cb79fd19e6485cfc61b85c607ca172cd860554c5
|
|
onboot:
|
|
- name: sysctl
|
|
image: linuxkit/sysctl:5a374e4bf3e5a7deeacff6571d0f30f7ea8f56db
|
|
- name: dhcpcd
|
|
image: linuxkit/dhcpcd:e9e3580f2de00e73e7b316a007186d22fea056ee
|
|
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
|
services:
|
|
# Inside the getty type `/proc/1/root/usr/bin/logread -F` to follow the log
|
|
- name: getty
|
|
image: linuxkit/getty:5d86a2ce2d890c14ab66b13638dcadf74f29218b
|
|
env:
|
|
- INSECURE=true
|
|
# A service which generates log messages for testing
|
|
- name: write-to-the-logs
|
|
image: alpine:3.13
|
|
command: ["/bin/sh", "-c", "while /bin/true; do echo hello $(date); sleep 1; done" ]
|
|
- name: write-and-rotate-logs
|
|
image: linuxkit/logwrite:c1c66d246080a40658903916d650206f2dcd707a
|
|
- name: kmsg
|
|
image: linuxkit/kmsg:423844f262467e1199480dc93d69e38610c78133
|