Skip to content
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

Portainer fails too early if it does not find an image, ignoring build #12406

Open
2 tasks done
stavros-k opened this issue Nov 25, 2024 · 0 comments
Open
2 tasks done
Labels

Comments

@stavros-k
Copy link

Before you start please confirm the following.

Problem Description

  preview-my-app-api:
    image: my-image:build-18
    build:
      context: .
      tags:
        - my-image:build-18

This was working on prior portainer versions, but now portainer fails with "No such image"

Expected Behavior

Continue to build if an image is not found.

Actual Behavior

Fails to deploy with "No such image". Leaving the stack empty.

Steps to Reproduce

Try to deploy a stack with a build that was never done on that host before.

Portainer logs or screenshots

Failed to deploy a stack: compose up operation failed: Error response from daemon: No such image: my-image:build-18

Portainer version

2.24.0

Portainer Edition

Business Edition (BE/EE) with 5NF / 3NF license

Platform and Version

Docker

OS and Architecture

Ubuntu 22.04 x64

Browser

Firefox

What command did you use to deploy Portainer?

docker run -d -p 8000:8000 -p 9443:9443 --name portainer --restart=always -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer-be:2,.24.0

Additional Information

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant