This docker image is based off of the official Fluentbit Docker image. It adds a couple of small extras such as the Docker client.
This allows us to use run e.g. docker inspect commands with the exec input in fluentbit.
This also installs the following useful packages:
curlnetcatjq- miller
redis-cli
docker run -it -v /var/run/docker.sock:/var/run/docker.sock geocodio/fluentbit-docker-client
Note: The docker socket needs to be attached as a volume in order for the client to be able access the docker daemon on the host. Make sure that you understand the security implications of this.
# Build docker image
make build
# Push docker image
make deploy
# Run docker image
make run