Skip to content

testcontainers 3.0.0 MySqlBuilder Docker.DotNet.DockerApiException #844

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

You must be logged in to vote

The reason I'm trying to test out 3.0.0 is because I'm getting the same issue with 2.1.0, which was working fine in our project up until a couple of days ago.

This sounds like something in your environment has changed. What happens if you run a container manual:

docker run -e MYSQL_ROOT_PASSWORD=my-secret-pw -d mysql:8.0

FYI: I would not recommend assigning a random port like you do in your example. This is not safe at all.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@MikeFXR
Comment options

@HofmeisterAn
Comment options

@MikeFXR
Comment options

Answer selected by HofmeisterAn
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