2 ms·
Yes, it does. Docker abstracts away the network and the filesystem. There are many way to write logs, to files, to syslog, to unix socket, to stdout, to UDP so
by user5994461 9y ago
Yes, it does. Docker abstracts away the network and the filesystem.
There are many way to write logs, to files, to syslog, to unix socket, to stdout, to UDP sockets. Docker screws with most of them.
- mschuster91 9y ago> Docker abstracts away the network and the filesystem. Not neccessarily the network, if you're using --net=host. Docker does not screw with writing logs to files, to stdout or via UDP networking. When it comes to unix sockets or syslog, depends if the target is inside the container (which works fine AFAIK) or outside (e.g. due to bind-mounting /dev/log or such), but I have not tried the latter.