As part of our introduction to self-service publishing in the Terraform Registry, this copy of the provider has been archived, and ownership has been transferred to active maintainers in the community. Please see the new location on the Terraform Registry: https://registry.terraform.io/providers/kreuzwerker/docker/latest
Run terraform -v to show the version. If you are not running the latest version of Terraform, please upgrade because your issue may have already been fixed.
Terraform Version
Run
terraform -v
to show the version. If you are not running the latest version of Terraform, please upgrade because your issue may have already been fixed.v0.12.26
Affected Resource(s)
Terraform Configuration Files
Expected Behavior
When
log-driver
is set tonone
in the Docker daemon's configurationdaemon.json
, created container's log driver should benone
.https://docs.docker.com/config/containers/logging/configure/#configure-the-default-logging-driver
daemon.json
Actual Behavior
Created container's log driver is
json-file
bacauselog_driver
's default value isjson-file
.Steps to Reproduce
Please list the steps required to reproduce the issue, for example:
terraform apply
How to fix
Remove the default value of container's
log_driver
and setComputed: true
.