docker run --log-driver json-file myimage

Category: Docker

docker run --log-driver json-file myimage

Set the logging driver to json-file (default)

Sets the logging driver to json-file, which stores logs as JSON on the host's disk (the default).
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.