Docker Community Forums

Share and learn in the Docker community.

No output for docker logs

When I type “docker info | grep ‘Logging driver’” or “docker logs ContainerID”, I do not get any results inspite of the containers being in running state.

Btw, I just have the default files under /etc/docker i.e. key.json file, no modifications at all. Any suggestions?

I am using AWS Linux2 with the below Docker versions:

Client:
Version: 18.09.9-ce
API version: 1.39
Go version: go1.10.3
Git commit: 039a7df
Built: Fri Nov 1 19:26:49 2019
OS/Arch: linux/amd64
Experimental: false

Server:
Engine:
Version: 18.09.9-ce
API version: 1.39 (minimum version 1.12)
Go version: go1.10.3
Git commit: 039a7df
Built: Fri Nov 1 19:28:24 2019
OS/Arch: linux/amd64
Experimental: false