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 folderCodePudding user response:
. The container is redirected to the log SystemOut log log fileDocker logs -f container id & gt; The systemout.log 2 & gt; & 1
CodePudding user response:
EFK, simple