bumpy-toothbrush-18988
05/23/2024, 1:26 PMDocker native provider returned an unexpected error from Configure: failed to connect to any docker daemon
It appears that the initial DOCKER_HOST env var is being stored in the docker.Provider inputs.host and that is taking precedence over the updated DOCKER_HOST env var when attempting to refresh/read the state of the resources.
{
"urn": "urn:pulumi:...::ukilrn::pulumi:providers:docker::local-docker-provider-...",
"custom": true,
"id": "ed824cb5-e9e9-4947-8733-cd03bbad303d",
"type": "pulumi:providers:docker",
"inputs": {
"host": "<tcp://localhost:2376>",
"registryAuth": ...
Ideally, the change is detected and the docker.Provider host updated prior to attempting to read the resources then replacing the resources since they don't exist on the local system.
Details captured in this github issue: https://github.com/pulumi/pulumi-docker/issues/1106
Test case: https://github.com/korosccj/pulumi-docker-test
Any assistance is appreciated.