Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions installation/docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,28 @@ Use the following command to start Docker with Fluent Bit:
docker run -ti cr.fluentbit.io/fluent/fluent-bit
```

### Use a configuration file

Use the following command to start Fluent Bit while using a configuration file:

{% tabs %}
{% tab title="fluent-bit.conf" %}
```shell
docker run -ti -v ./fluent-bit.conf:/fluent-bit/etc/fluent-bit.conf \
cr.fluentbit.io/fluent/fluent-bit
```
{% endtab %}

{% tab title="fluent-bit.yaml" %}
```shell
docker run -ti -v ./fluent-bit.yaml:/fluent-bit/etc/fluent-bit.yaml \
cr.fluentbit.io/fluent/fluent-bit \
-c /fluent-bit/etc/fluent-bit.yaml
```
{% endtab %}
{% endtabs %}


## Tags and versions

The following table describes the Linux container tags that are available on Docker
Expand Down