Hi, all:
###I met some of the doubts, and follows:
###One server will run in a container of docker, and I want to collect the log of server.
#####I found a way is that:
Collection Outside Container.
A single collection agent runs on the host and containers have a volume mounted from the host where they write their logs.
#####Another way:
using docker log-driver like:
docker run --log-driver=fluentd
#####I do not know using log-driver whether influces property of the container or not, and how much?
Kind regards,
Lee