
上QQ阅读APP看书,第一时间看更新
Logging drivers
Docker includes multiple logging mechanisms to help us get information from running containers. These mechanisms are named logging drivers. Which logging driver is used can be configured at the Docker daemon level. The default logging driver is json-file. Some of the drivers that are currently supported natively are:

If you change the logging driver, please be aware that the docker container logs command is only available for the json-file and journald drivers.