-
Notifications
You must be signed in to change notification settings - Fork 640
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
docker:start wait on tcp port always failing #1234
Comments
Hi, |
Found a potentially better fix. The problem is with: docker-maven-plugin/src/main/java/io/fabric8/maven/docker/service/WaitService.java Line 179 in 5541e17
If the network mode on the image is not set, it acts as the default, which is bridge. However, the actual string networkMode is "default", not "bridge", so it doesn't fall into the right block to get the right hostname/ip. So fix for now is to explicitly set the network mode to bridge in your image. |
I hit this issue with 0.31.0 today. |
@WillemJiang could you try with the latest snapshot release ? I just pushed a I'm planning a release for the weekend, so would be good to know if the issue here would be fixed with it. |
@rhuss I just ran the test with the 0.31-SNAPSHOT(by building the source on my box, as I didn't find the snapshot link from maven central), the test passed on my project without any issue. |
This is still happening to me on 0.31 as well as 0.33 |
Same for me on 0.34, on a mac. Network is specified as bridge. Most probably related to this: https://docs.docker.com/docker-for-mac/networking/#there-is-no-docker0-bridge-on-macos Very new to macOS, still digging |
I am facing the same issue on 0.40.1 version. Is there a solution for this one? |
Description
Using below configuration:
mvn docker:start
got error:If downgrade d-m-p to 0.28.0 everything goes fine.
Info
mvn -v
) :The text was updated successfully, but these errors were encountered: