testcontainers 3.0.0 MySqlBuilder Docker.DotNet.DockerApiException #844
-
Hello, I'm trying to get testcontainers 3.0.0 using the MySqlContainer module working.
I get the error
I see the containers spin up in docker but then it fails! 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. Nothing appears to have changed, it's just stopped working! FYI this is the 2.1.0 code we're using
If anyone could shed any light on the error that would be great. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
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. |
Beta Was this translation helpful? Give feedback.
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.