billions-ability-52066
03/10/2025, 9:15 PMpulumi new gcp-python
.
The example runs fine when I run it on the host machine.
It results in an error when I run it in a docker container and, from my little experience with Pulumi's internals, it seems to be an issue with some background process that unexpectedly dies.
The logs from running pulumi preview -s dev -v 9 --logflow
are in the attached file.
If relevant, the Dockerfile starts the image from Debian base image, installs (pyenv and then python 3.12) and finally pulumi via the recommended curl
method
I couldn't find anything related to this error searching the web or here in Slack.
Has anyone faced this before?victorious-church-57397
03/10/2025, 9:45 PMbillions-ability-52066
03/11/2025, 10:54 AMgcloud
commands works as expected. I'll look into these network settings. Thanks @victorious-church-57397!
I'll also check the pulumi-docker-container image from https://github.com/pulumi/pulumi-docker-containers/tree/main/docker/pythonvictorious-church-57397
03/11/2025, 12:43 PMbillions-ability-52066
03/14/2025, 5:35 PMnetwork_mode: host
instead of the default bridge
for some other reasons. Apparently this messes up the gRPC components required by Pulumi.