Home > other >  You how great god collect docker operation log?
You how great god collect docker operation log?

Time:10-21

Such as: docker run, docker rm, docker rmi, docker pull, docker operation log?
I saw a container log: docker logs -f containerID
Docker service logs:/var/log/messages
There is no I want to log, you how great god collect log?

CodePudding user response:

The host machine and mapping the docker folder

CodePudding user response:

. The container is redirected to the log SystemOut log log file
Docker logs -f container id & gt; The systemout.log 2 & gt; & 1

CodePudding user response:

EFK, simple
  • Related