Giter Site home page Giter Site logo

novohool / fluent-bit-docker-image Goto Github PK

View Code? Open in Web Editor NEW

This project forked from fluent/fluent-bit-docker-image

0.0 1.0 0.0 49 KB

Docker image for Fluent Bit

Home Page: https://hub.docker.com/r/fluent/fluent-bit/

License: Apache License 2.0

fluent-bit-docker-image's Introduction

Fluent Bit Docker Image

Fluent Bit Docker image based on Debian base image from Google.

1. Checkout Branch

Fluent Bit Dockerfiles are located in separated branches with proper tags:

Branch Tags Available
0.13 0.13, 0.13.0
0.12 0.12, 0.12.19, 0.12.18, 0.12.17, 0.12.16, 0.12.15, 0.12.14, 0.12.13, 0.12.12, 0.12.11, 0.12.10, 0.12.9, 0.12.8, 0.12.7, 0.12.6, 0.12.5, 0.12.4, 0.12.3, 0.12.2, 0.12.1, 0.12.0

2. Build image

Use docker build command to build the image. This example names the image "fluent-bit:latest":

$ cd 0.13/
$ docker build -t fluent/fluent-bit:0.13 ./

3. Test it

Once the image is built, it's ready to run:

docker run -p 127.0.0.1:24224:24224 fluent/fluent-bit:latest

By default, the configuration set a listener on TCP port 24224 through Forward protocol and prints to the standard output interface each message. So this can be used to forward Docker log messages from one container to the Fluent Bit image, e.g:

$ docker run --log-driver=fluentd -t ubuntu echo "Testing a log message"

On Fluent Bit container will print to stdout something like this:

Fluent-Bit v0.13.0
Copyright (C) Treasure Data

[0] docker.31c94ceb86ca: [1487548735, {"container_id"=>"31c94ceb86cae7055564eb4d65cd2e2897addd252fe6b86cd11bddd70a871c08", "container_name"=>"/admiring_shannon", "source"=>"stdout","}]og"=>"Testing a log message

Contact

Feel free to join us on our Mailing List or IRC:

License

This program is under the terms of the Apache License v2.0.

Authors

Fluent Bit is made and sponsored by Treasure Data among other contributors.

fluent-bit-docker-image's People

Contributors

andriiomelianenko avatar edsiper avatar jsravn avatar nokute78 avatar thakkaryash94 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.