docker-maven-plugin: wait for port doesn't work on Windows
Wait for port doesn’t work on Windows.
As an example:
<ports>
<port>3336:3306</port>
</ports>
<wait>
<tcp>
<ports>
<port>3306</port>
</ports>
</tcp>
<time>40000</time>
</wait>
This won’t work, while the following works and maven plugin connects to mysql using jdbc:mysql://localhost:3336
<wait>
<time>10000</time>
</wait>
Maven: 3.3.9 docker-maven-plugin: 0.15.16 Windows 10
About this issue
- Original URL
- State: open
- Created 8 years ago
- Reactions: 1
- Comments: 17 (1 by maintainers)
The configuration at branch “working” of my sample project now works with docker-maven-plugin v0.23.0 and boot2docker v18.01.0-ce on Windows 7 64-bit.
In short, it uses
mapped
mode port configurations: