-
Notifications
You must be signed in to change notification settings - Fork 9.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for configuring Docker logging drivers #3972
Comments
Docker run command reference: http://docs.docker.com/engine/reference/run/#logging-drivers-log-driver In the GO client, this is a LogConfig struct that gets passed as part of HostConfig It seems like the implementation should be very close to that of the |
Related PR: #3761 |
Hey guys, I belive this was already solved, according to your docs: https://www.terraform.io/docs/providers/docker/r/container.html You may want to close this issue :) |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
Docker 1.6 introduced support for configurable logging drivers that can take a container's STDOUT and STDERR and send them somewhere other than a file on disk - i.e. syslog, a GELF endpoint, fluentd, or journald. This can be configured per-container using the
--log-driver
and--log-opt
options todocker run
. This is a massive step forward in management of logging from containers. It would be very helpful if terraform supported these.The text was updated successfully, but these errors were encountered: