Tutorial by Examples

[Service] # empty exec prevents error "docker.service has more than one ExecStart= setting, which is only allowed for Type=oneshot services. Refusing." ExecStart= ExecStart=/usr/bin/dockerd -H fd:// --log-driver=syslog This enables syslog logging for the docker daemon. The file sho...
Docker's approach to logging is that you construct your containers in such a way, so that logs are written to standard output (console/terminal). If you already have a container which writes logs to a file, you can redirect it by creating a symbolic link: ln -sf /dev/stdout /var/log/nginx/access.l...

Page 1 of 1