https://pulumi.com logo
#general
Title
# general
b

bulky-gigabyte-37745

10/11/2023, 3:27 PM
I'm trying the pulumi fondamentals tutorial and at the end when I added the 3 containers to the stack, I get an error running `pulumi up`:
Copy code
Diagnostics:
  pulumi:pulumi:Stack (pulumi_tutorial-dev):
    error: update failed

  docker:index:Container (mongo_container):
    error: 1 error occurred:
        * container exited immediately
When I run the container manually like this
docker run pulumi/tutorial-pulumi-fundamentals-database-local
I get the following message:
Copy code
WARNING: The requested image's platform (linux/arm64/v8) does not match the detected host platform (linux/amd64/v3) and no specific platform was requested
exec /usr/local/bin/docker-entrypoint.sh: exec format error
Also there is nothing in the log file in
/tmp
even with the verbosity set to 11
Now that I have pulumi version 3.88.1 I get the following errors:
Copy code
Diagnostics:
  docker:index:Container (mongo_container):
    error: 1 error occurred:
        * container exited immediately

  pulumi:pulumi:Stack (pulumi_tutorial-staging):
    error: update failed

  docker:index:Container (frontend_container):
    error: 1 error occurred:
        * creating urn:pulumi:staging::pulumi_tutorial::docker:index/container:Container::frontend_container: 1 error occurred:
        * Unable to start container: Error response from daemon: driver failed programming external connectivity on endpoint frontend-staging (f764818ec7f407c353cbc2b66ad4cae41dbc3e4bfbb4638e503af1fdab204325): Bind for 0.0.0.0:3001 failed: port is already allocated
6 Views