File tree Expand file tree Collapse file tree 1 file changed +8
-6
lines changed
Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -117,19 +117,21 @@ That's it! Welcome in the community!
117117
118118. Install Docker client from http://boot2docker.io/
119119. Build the sample that you want to run as
120-
120+ +
121121`` mvn clean package -DskipTests ``
122-
122+ +
123123For example:
124-
124+ +
125125`` mvn -f jaxrs/jaxrs-client/pom.xml clean package -DskipTests ``
126-
126+ +
127127. Change the second line in `` Dockerfile `` to specify the location of the generated WAR file
128128. Run boot2docker and give the command
129-
129+ +
130130`` docker build -it -p 80:8080 javaee7-sample ``
131+ +
131132. In a different shell, find out the IP address of the running container as:
132-
133+ +
133134`` boot2docker ip ``
135+ +
134136. Access the sample as http://<IP >:80/jaxrs-client/webresources/persons
135137
You can’t perform that action at this time.
0 commit comments