March 2017
Beginner to intermediate
925 pages
18h 11m
English
With the release of Docker 1.6, a new feature has been added to select the logging driver while starting the Docker daemon. Currently, three types of logging drivers are supported:
Install Docker 1.6 or above on the system.
$ docker -d --log-driver=none $ docker -d --log-driver=syslog
You can also add this option in the configuration file of Docker, depending on the distribution.
The docker logs command will just support the default logging driver JSON file.
Depending on the log driver configuration, Docker daemon selects the corresponding logging driver.
Read now
Unlock full access