Last active
September 28, 2022 23:09
-
-
Save uilian/4599a077190feb033eaf628ad61d69d3 to your computer and use it in GitHub Desktop.
Remote Java Debug within Docker
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
version: '3.9' | |
services: | |
rdu: | |
image: your/image/here | |
ports: | |
- "50000:50000" | |
- "8443:8443" | |
- "49540:49540" | |
environment: | |
- "JAVA_OPTS=-agentlib:jdwp=transport=dt_socket,address=49540,server=y" | |
- "JAVA_HOME=/opt/CSCObac/jre" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment