Run Atlassian Confluence docker in debug mode and with JMX on

You can run Atlassian Confluence in a docker from this resource.

To run this docker in debug mode and with the ability to connect to this Confluence instance with a JMX agent you should use the following command:

docker run -e JVM_SUPPORT_RECOMMENDED_ARGS="-Xdebug -Xrunjdwp:transport=dt_socket,address=*:5005,server=y,suspend=n " -v /Users/alexm/projects/prometheus/confluence:/var/atlassian/application-data/confluence --name="confluence"  -p 8090:8090 -p 8091:8091 -p 5005:5005 -p 9999:9999 -p 9998:9998 atlassian/confluence-server



with the folder where you will store Confluence home files.

Now you can attach to localhost:5005 with a debugger. And connect with a JMX agent like jmc, jconsole and so on with localhost:9999 without providing a username and a password.

If you have found a spelling error, please, notify us by selecting that text and pressing Ctrl+Enter.

Leave a Reply

%d bloggers like this:

Spelling error report

The following text will be sent to our editors: