You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: container-deployment/install-by-docker.md
+18-15Lines changed: 18 additions & 15 deletions
Original file line number
Diff line number
Diff line change
@@ -13,10 +13,10 @@ Please download and install [Docker](https://www.docker.com/) from here:
13
13
14
14
## Step 1: Pull Fluentd Docker Image
15
15
16
-
Then, download Fluentd v1.6-debian-1's image by `docker pull` command:
16
+
Then, download Fluentd edge-debian's (edge-debian means latest version of Fluentd) image by `docker pull` command:
17
17
18
18
```text
19
-
$ docker pull fluent/fluentd:v1.6-debian-1
19
+
$ docker pull fluent/fluentd:edge-debian
20
20
```
21
21
22
22
Debian and Alpine Linux version is available for Fluentd image. Debian version is recommended officially since it has [`jemalloc`](https://github.com/jemalloc/jemalloc) support. However, the Alpine image is smaller.
@@ -42,9 +42,11 @@ To make the test simple, create the example config below at `$(pwd)/tmp/fluentd.
42
42
Finally, you can run Fluentd with `docker run` command:
43
43
44
44
```text
45
-
$ docker run -p 9880:9880 -v $(pwd)/tmp:/fluentd/etc -e FLUENTD_CONF=fluentd.conf fluent/fluentd:v1.6-debian-1
46
-
2019-08-21 00:30:37 +0000 [info]: parsing config file is succeeded path="/fluentd/etc/fluentd.conf"
47
-
2019-08-21 00:30:37 +0000 [info]: using configuration file: <ROOT>
45
+
$ docker run -p 9880:9880 -v $(pwd)/tmp:/fluentd/etc fluent/fluentd:edge-debian -c /fluentd/etc/fluentd.conf
46
+
2021-03-16 09:11:32 +0000 [info]: parsing config file is succeeded path="/fluentd/etc/fluentd.conf"
47
+
2021-03-16 09:11:32 +0000 [info]: gem 'fluentd' version '1.11.5'
48
+
2021-03-16 09:11:32 +0000 [warn]: define <match fluent.**> to capture fluentd logs in top level is deprecated. Use <label @FLUENT_LOG> instead
49
+
2021-03-16 09:11:32 +0000 [info]: using configuration file: <ROOT>
2021-03-16 09:11:33.026503372 +0000 fluent.info: {"worker":0,"message":"fluentd worker is now running worker=0"}
65
68
```
66
69
67
70
## Step 3: Post Sample Logs via HTTP
@@ -77,10 +80,10 @@ Use `docker ps` command to retrieve container ID and use `docker logs` command t
77
80
```text
78
81
$ docker ps -a
79
82
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
80
-
775a8e192f2b fluent/fluentd:v1.6-debian-1 "tini -- /bin/entryp…" About a minute ago Up About a minute 5140/tcp, 24224/tcp, 0.0.0.0:9880->9880/tcp tender_leakey
83
+
775a8e192f2b fluent/fluentd:edge-debian "tini -- /bin/entryp…" About a minute ago Up About a minute 5140/tcp, 24224/tcp, 0.0.0.0:9880->9880/tcp tender_leakey
0 commit comments