pulumi refresh does not respect docker:host configuration setting for ssh connection #1147
Labels
kind/bug
Some behavior is incorrect or out of spec
resolution/no-repro
This issue wasn't able to be reproduced
Milestone
Describe what happened
According to the documention one can set the
DOCKER_HOST
variable through apulumi
setting utilizing assh
connection, i.e.$ pulumi config set docker:host ssh://[email protected]:22/
However, although commands like
update
ordestroy
do respect the configuration setting (i.e.DOCKER_HOST
is set properly and the command connects to the rightdocker
daemon viassh
successfully), running apulumi refresh
without passingDOCKER_HOST
as a variable will fail with the following error:Note: the
Volume
in this example is just one of many resources that fail.Perusing the logs reveals that
pulumi
is using the localdocker
daemon via a socket connection instead of the configuration setting:Sample program
Log output
I can provide further logs upon request. Currently it would require significant work to redact output I cannot submit publicly, and the bug is 100% reproducible with the example I posted above.
Affected Resource(s)
The resources I've tested this with were
Volume
,Container
andNetwork
but I reckon all resources are affected here given the nature of this bug.Output of
pulumi about
Additional context
No response
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).
The text was updated successfully, but these errors were encountered: