Created
June 7, 2024 15:44
-
-
Save whatisor/de2c4c6799e140ceef4513605ca0b657 to your computer and use it in GitHub Desktop.
Windows Docker Network Binding
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. Add this line to dockerfile | |
EXPOSE 8080 | |
2. Use -p 8080:8080 for docker run | |
3. Allow network when windows popup permission dialog. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment