-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Documented example for container creation does not work #803
Comments
Do you see any error when you run the program? I reproduced your program in Pulumi YAML, and got this error:
If I add a $ docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
138ec79c001e 5b117edd0b76 "sleep infinity" 25 seconds ago Up 24 seconds container-5bf3655 Expand to see the YAML version of the programname: tmp.d3GasjU4ZN
runtime: yaml
description: A minimal Pulumi YAML program
resources:
remoteImage:
type: docker:RemoteImage
properties:
name: ubuntu:precise
container:
type: docker:Container
properties:
image: ${remoteImage.imageId}
# command: ["sleep", "infinity"]
outputs:
remoteImageId:
value: ${remoteImage.imageId}
containerId:
value: ${container.id} |
That works like a charm. Thanks for the speedy support! |
@em-jones I'm glad you resolved your issue! Thank you @AaronFriel for your help. The example is actually based on an upstream example here, so it would need to change there first. |
that checks out. I'll see if I can get this on their radar. Thanks again |
What happened?
Using docs, I can't get any containers to run.
Example
Output of
pulumi about
Additional context
docker
clipulumi up
when runningdocker ps -a
ubuntu
based inwsl
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: