AJNOURI / Docker_Certified_Associate_Certification

Preparation for Docker Certified Associate certification exam.
MIT License
4 stars 2 forks source link

cannot list logs from a container #1

Closed AJNOURI closed 6 years ago

AJNOURI commented 6 years ago

After changing the default logging driver from json-file to syslog, I cannot list logs from a container

docker logs httpd2

Error response from daemon: configured logging driver does not support reading

AJNOURI commented 6 years ago

Need to override container log system on run docker run -d --log-driver<json-file> <httpd-image>