Hey,

On a CentOS vm, am running fluentbit (as td-agent) configured with basic 
options.

1. Running a simple ubuntu container with a) /bin/bash or b) /bin/echo 
"Hello World" echoes the output (from the container) in the td-agent log 
at, /var/log/td-agent/td-agent.log

docker run -d -ti  --name  echome  ubuntu:latest  --log-driver=fluentd   --
log-opt  tag=docker.{{ID}}  /bin/bash

docker run -d -ti  --name  echome  ubuntu:latest  --log-driver=fluentd   --
log-opt  tag=docker.{{ID}}  /bin/echo "Hello World"


2. However, in my attempt to run Jenkins in a container, logs (from the 
running container) do not show up in the td-agent logs in '/var' folder.
docker run -d -ti  --name  cijenkins  jenkins/jenkins:lts  --log-driver=fluentd 
  --log-opt  tag=docker.{{ID}}  /bin/bash


Would appreciate any inputs or comments.

--
regards
Ram

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/24b6ed81-8d25-4140-9bc4-58ab03403232%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to