Skip to content

Instantly share code, notes, and snippets.

@whatisor
Created June 7, 2024 15:44
Show Gist options
  • Save whatisor/de2c4c6799e140ceef4513605ca0b657 to your computer and use it in GitHub Desktop.
Save whatisor/de2c4c6799e140ceef4513605ca0b657 to your computer and use it in GitHub Desktop.
Windows Docker Network Binding
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