docker
instead of
podman
).
$ podman machine start
$ podman run --rm --name fb -ti cr.fluentbit.io/fluent/fluent-bit:3.1.4
--rm
), that we give the container a name we
can reference (--name fb
), assign it a console for output and stay
interactive (-ti
), and use the image version supported in this workshop
(cr.fluentbit.io/fluent/fluent-bit:3.1.4
).
Writing manifest to image destination
Fluent Bit v3.1.4
* Copyright (C) 2015-2024 The Fluent Bit Authors
* Fluent Bit is a CNCF sub-project under the umbrella of Fluentd
* https://fluentbit.io
______ _ _ ______ _ _ _____ __
| ___| | | | | ___ (_) | |____ |/ |
| |_ | |_ _ ___ _ __ | |_ | |_/ /_| |_ __ __ / /`| |
| _| | | | | |/ _ \ '_ \| __| | ___ \ | __| \ \ / / \ \ | |
| | | | |_| | __/ | | | |_ | |_/ / | |_ \ V /.___/ /_| |_
\_| |_|\__,_|\___|_| |_|\__| \____/|_|\__| \_/ \____(_)___/
[2024/07/31 09:28:06] [ info] [fluent bit] version=3.1.4, commit=c767acfe6c, pid=1
[2024/07/31 09:28:06] [ info] [storage] ver=1.5.2, type=memory, sync=normal, checksum=off, max_chunks_up=128
[2024/07/31 09:28:06] [ info] [cmetrics] version=0.9.1
[2024/07/31 09:28:06] [ info] [ctraces ] version=0.5.2
[2024/07/31 09:28:06] [ info] [input:cpu:cpu.0] initializing
[2024/07/31 09:28:06] [ info] [input:cpu:cpu.0] storage_strategy='memory' (memory only)
[2024/07/31 09:28:06] [ info] [sp] stream processor started
[2024/07/31 09:28:06] [ info] [output:stdout:stdout.0] worker #0 started
[0] cpu.local: [[1716362553.203992911, {}], {"cpu_p"=>0.250000, "user_p"=>0.000000, "system_p"=>0.250000, "cpu0.p_cpu"=>0.000000, "cpu0.p_user"=>0.000000, "cpu0.p_system"=>0.000000, "cpu1.p_cpu"=>0.000000, "cpu1.p_user"=>0.000000, "cpu1.p_system"=>0.000000, "cpu2.p_cpu"=>0.000000, "cpu2.p_user"=>0.000000, "cpu2.p_system"=>0.000000, "cpu3.p_cpu"=>0.000000, "cpu3.p_user"=>0.000000, "cpu3.p_system"=>0.000000}]
[0] cpu.local: [[1716362554.209532147, {}], {"cpu_p"=>0.250000, "user_p"=>0.000000, "system_p"=>0.250000, "cpu0.p_cpu"=>0.000000, "cpu0.p_user"=>0.000000, "cpu0.p_system"=>0.000000, "cpu1.p_cpu"=>1.000000, "cpu1.p_user"=>1.000000, "cpu1.p_system"=>0.000000, "cpu2.p_cpu"=>1.000000, "cpu2.p_user"=>0.000000, "cpu2.p_system"=>1.000000, "cpu3.p_cpu"=>0.000000, "cpu3.p_user"=>0.000000, "cpu3.p_system"=>0.000000}]
...
(Scroll to the right to see log lines)
# CTRL-C to stop a running container in your console.
$ podman run --rm --name fb -ti cr.fluentbit.io/fluent/fluent-bit:3.1.4
# CTRL-C to stop a running container in your console.
$ podman machine stop
Writing manifest to image destination
Fluent Bit v3.1.4
* Copyright (C) 2015-2024 The Fluent Bit Authors
* Fluent Bit is a CNCF sub-project under the umbrella of Fluentd
* https://fluentbit.io
______ _ _ ______ _ _ _____ __
| ___| | | | | ___ (_) | |____ |/ |
| |_ | |_ _ ___ _ __ | |_ | |_/ /_| |_ __ __ / /`| |
| _| | | | | |/ _ \ '_ \| __| | ___ \ | __| \ \ / / \ \ | |
| | | | |_| | __/ | | | |_ | |_/ / | |_ \ V /.___/ /_| |_
\_| |_|\__,_|\___|_| |_|\__| \____/|_|\__| \_/ \____(_)___/
[2024/07/31 09:28:06] [ info] [fluent bit] version=3.1.4, commit=c767acfe6c, pid=1
[2024/07/31 09:28:06] [ info] [storage] ver=1.5.2, type=memory, sync=normal, checksum=off, max_chunks_up=128
[2024/07/31 09:28:06] [ info] [cmetrics] version=0.9.1
[2024/07/31 09:28:06] [ info] [ctraces ] version=0.5.2
[2024/07/31 09:28:06] [ info] [input:cpu:cpu.0] initializing
[2024/07/31 09:28:06] [ info] [input:cpu:cpu.0] storage_strategy='memory' (memory only)
[2024/07/31 09:28:06] [ info] [sp] stream processor started
[2024/07/31 09:28:06] [ info] [output:stdout:stdout.0] worker #0 started
[0] cpu.local: [[1716362553.203992911, {}], {"cpu_p"=>0.250000, "user_p"=>0.000000, "system_p"=>0.250000, "cpu0.p_cpu"=>0.000000, "cpu0.p_user"=>0.000000, "cpu0.p_system"=>0.000000, "cpu1.p_cpu"=>0.000000, "cpu1.p_user"=>0.000000, "cpu1.p_system"=>0.000000, "cpu2.p_cpu"=>0.000000, "cpu2.p_user"=>0.000000, "cpu2.p_system"=>0.000000, "cpu3.p_cpu"=>0.000000, "cpu3.p_user"=>0.000000, "cpu3.p_system"=>0.000000}]
[0] cpu.local: [[1716362554.209532147, {}], {"cpu_p"=>0.250000, "user_p"=>0.000000, "system_p"=>0.250000, "cpu0.p_cpu"=>0.000000, "cpu0.p_user"=>0.000000, "cpu0.p_system"=>0.000000, "cpu1.p_cpu"=>1.000000, "cpu1.p_user"=>1.000000, "cpu1.p_system"=>0.000000, "cpu2.p_cpu"=>1.000000, "cpu2.p_user"=>0.000000, "cpu2.p_system"=>1.000000, "cpu3.p_cpu"=>0.000000, "cpu3.p_user"=>0.000000, "cpu3.p_system"=>0.000000}]
...