All Projects → docker-archive → registration-docker

docker-archive / registration-docker

Licence: other
Tutorial for debugging Java applications in Docker

Programming Languages

java
68154 projects - #9 most used programming language
CSS
56736 projects
python
139335 projects - #7 most used programming language
shell
77523 projects

Tutorial: Debugging Java Applications in Docker

Java developers can use Docker to build a development environment where they can run, test, and live debug code running within a container. Debugging a node.js application was demonstrated at DockerCon 2016 showing that development using containers can be performed on many platforms using other programming languages.

Live debugging demo at DockerCon US 2016

This tutorial includes Docker images and an application for Java development using containers. An examples for Eclipse, IntelliJ CE, and Netbeans are provided.

Before starting the tutorial, please have Docker installed.

Windows:

This tutorial uses Linux containers, set Docker for Windows to use linux containers

Github automatically changes unix LF to Windows CRLF when the repository is cloned. The Dockerfile that builds the Apache Tomcat image requires two files for configuration. These files will need to be converted to unix LF. In Powershell or the github client window:

dos2unix ./registration-webserver/tomcat/run.sh
dos2unix ./registration-webserver/tomcat/tomcat-users.xml
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].