This message was deleted.
# automation-api
s
This message was deleted.
b
@nice-butcher-64302 that isn’t related to your access token, it looks like your docker image doesn’t have a user set. Can you share your docker image definition?
n
I'm literally pulling the docker image from dockerhub
@billowy-army-68599 thanks for looking into this
b
which image from dockerhub?
pulumi/pulumi
?
n
b
try adding:
Copy code
-e PULUMI_HOME='/app' \
n
Ah! That seems to have fixed the problem!
at least I can now see the preview and the command is working
Thanks a lot @billowy-army-68599.
Is this something I should flag on github somewhere?
like an Issue or something? There's no trace about this requirement in the docker image documentation
b
definitely worht opening an issue to document in pulumi/pulumi
l
@nice-butcher-64302 based on what I'm reading about your use case, you may want to consider looking at Pulumi Deployments. There is a REST API available via Pulumi Cloud that you can use to run updates/previews/refresh/etc on demand. It is kind of like a hosted version of automation API that allows you to avoid all of this setup and orchestration necessary to run auto api within docker: https://www.pulumi.com/docs/pulumi-cloud/deployments/