Skip to content

DockerImageNotFoundException when running integration tests in Azure DevOps pipeline #894

Answered by HofmeisterAn
dotkarl asked this question in Q&A
Discussion options

You must be logged in to vote

I guess my first question would be: what would it normally take to get a test with TestContainers to pass in a CI/CD pipeline?

All you need is an installation of Docker. If you are using the Microsoft-hosted agents, Docker is pre-installed, and there is no need for any additional configuration.

Considering your stack trace, it looks like you are using a Windows agent, right? The Windows agents cannot run Linux container. There is no Windows (multi-platform) image for MSSQL. Can you please run your build on ubuntu-22.04?

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by dotkarl
Comment options

You must be logged in to vote
1 reply
@HofmeisterAn
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants