You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 12, 2026. It is now read-only.
Sven Loesekann edited this page Mar 10, 2018
·
5 revisions
To Test the Ear Docker can be used
The local Wildfly is used to for development. To test the Ear on it the development setup of the local Wildfly, the setup would have to be changed and the Ear deployed. Docker offers a different approach. If you install Docker Service you can start Docker Images and run the image in a container. That makes it possible to extend the Maven Build to create a Docker Image with the Ear and start it in Docker.
To create a Docker Image of the carrental application for Wildfly use: "mvn clean install docker:build"
To create a Docker Image of the carrental application for Websphere use: "mvn clean install docker:build -DprodDocker=WS"
To start the image use: "mvn docker:start" (for Websphere add "-DprodDocker=WS")
To stop the image use: "mvn docker:stop" (for Websphere add "-DprodDocker=WS")
That makes testing the Ear easy and enables testing on other App Servers.