You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Stack trace from the terraform-provider-docker_v3.0.2 plugin:
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x2 addr=0x0 pc=0x10317c3f4]
goroutine 97 [running]:
github.com/terraform-providers/terraform-provider-docker/internal/provider.resourceDockerContainerCreate.func1(0x0?)
github.com/terraform-providers/terraform-provider-docker/internal/provider/resource_docker_container_funcs.go:508 +0x154
created by github.com/terraform-providers/terraform-provider-docker/internal/provider.resourceDockerContainerCreate
github.com/terraform-providers/terraform-provider-docker/internal/provider/resource_docker_container_funcs.go:521 +0x2384
Error: The terraform-provider-docker_v3.0.2 plugin crashed!
Expected Behaviour
Since its wait value is true, it should wait until healthy. But it does not have healthcheck value, so there is no
way to check it. So, it should raise error for terraform apply or terraform validate commands.
Actual Behaviour
It doesn't raise any error for terraform validate command.
It crashes when executing terraform apply.
Steps to Reproduce
terraform apply
The text was updated successfully, but these errors were encountered:
0xall
changed the title
Plugin crashes when using wait=true with no healthcheck command
Plugin crashes when using wait=true with no healthcheck command
Jul 6, 2023
Community Note
Terraform (and docker Provider) Version
Terraform v1.5.2
on darwin_arm64
Affected Resource(s)
docker_container
Terraform Configuration Files
Panic Output
Expected Behaviour
Since its
wait
value istrue
, it should wait until healthy. But it does not havehealthcheck
value, so there is noway to check it. So, it should raise error for
terraform apply
orterraform validate
commands.Actual Behaviour
terraform validate
command.terraform apply
.Steps to Reproduce
terraform apply
The text was updated successfully, but these errors were encountered: