Docker Community Forums

Share and learn in the Docker community.

Docker logs issue

docker

(Lakhan) #1

Hello,

I installed docker 1.12.5 on both servers(CentOS 7.3) with same configuration, but i facing a problem with logs.

on one server i able to see container logs but for other server i am not able to see container logs.

#docker info

Storage Driver: devicemapper
Pool Name: docker-thinpool
Pool Blocksize: 524.3 kB
Base Device Size: 10.74 GB
Backing Filesystem: xfs
Data file:
Metadata file:
Data Space Used: 15.97 GB
Data Space Total: 102 GB
Data Space Available: 86.03 GB
Metadata Space Used: 5.853 MB
Metadata Space Total: 1.07 GB
Metadata Space Available: 1.064 GB
Thin Pool Minimum Free Space: 10.2 GB
Udev Sync Supported: true
Deferred Removal Enabled: true
Deferred Deletion Enabled: true
Deferred Deleted Device Count: 0
Library Version: 1.02.135-RHEL7 (2016-09-28)
Logging Driver: journald
Cgroup Driver: systemd
Plugins:
Volume: local
Network: null bridge overlay host
Swarm: inactive
Runtimes: docker-runc runc
Default Runtime: docker-runc
Security Options: seccomp
Kernel Version: 3.10.0-327.el7.x86_64

#docker inspect -f ‘{{.HostConfig.LogConfig.Type}}’ 3c85ec7544c0
journald

issue: no log output

[root@devd7cn ~]# docker logs 3c85ec7544c0
[root@devd7cn ~]#

please could any one help me on this issue.