Docker Community Forums

Share and learn in the Docker community.

Jboss eap docker image -update standalone.xml


(Insdocker) #1

Hi,

I need to deploy a .ear file to a JBOSS EAP 6.4 environment. Below is my dockerfile contents.

FROM daggerok/jboss-eap-6.4

EXPOSE 8080

ADD ./testjboss.ear ${JBOSS_HOME}/standalone/deployments/

When I run the docker image I get an error child container name already exists for which I need to change the enable-welcome-root to “false” in the standalone/configuration/standalone.xml file of the docker container.
Am able to get into the container and change the xml file and save it. But yet when I try to browse localhost:8080/index.jsp I get error.

Has anyone faced this issue?