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:
11
11
docker run -ti cr.fluentbit.io/fluent/fluent-bit
12
12
```
13
13
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
+
14
36
## Tags and versions
15
37
16
38
The following table describes the Linux container tags that are available on Docker
You can’t perform that action at this time.
0 commit comments