File tree Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,28 @@ Use the following command to start Docker with Fluent Bit:
1111docker run -ti cr.fluentbit.io/fluent/fluent-bit
1212```
1313
14+ ### Use a configuration file
15+
16+ Use the following command to start Fluent Bit while using a configuration file:
17+
18+ {% tabs %}
19+ {% tab title="fluent-bit.conf" %}
20+ ``` shell
21+ docker run -ti -v ./fluent-bit.conf:/fluent-bit/etc/fluent-bit.conf \
22+ cr.fluentbit.io/fluent/fluent-bit
23+ ```
24+ {% endtab %}
25+
26+ {% tab title="fluent-bit.yaml" %}
27+ ``` shell
28+ docker run -ti -v ./fluent-bit.yaml:/fluent-bit/etc/fluent-bit.yaml \
29+ cr.fluentbit.io/fluent/fluent-bit \
30+ -c /fluent-bit/etc/fluent-bit.yaml
31+ ```
32+ {% endtab %}
33+ {% endtabs %}
34+
35+
1436## Tags and versions
1537
1638The following table describes the Linux container tags that are available on Docker
You can’t perform that action at this time.
0 commit comments