Skip to content

Commit a0e84e7

Browse files
committed
some formatting
1 parent f2811e8 commit a0e84e7

File tree

1 file changed

+19
-19
lines changed

1 file changed

+19
-19
lines changed

README.md

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -115,23 +115,23 @@ That's it! Welcome in the community!
115115

116116
## Run each sample in Docker
117117

118-
. Install Docker client from http://boot2docker.io/
119-
. Build the sample that you want to run as
120-
+
121-
``mvn clean package -DskipTests``
122-
+
123-
For example:
124-
+
125-
``mvn -f jaxrs/jaxrs-client/pom.xml clean package -DskipTests``
126-
+
127-
. Change the second line in ``Dockerfile`` to specify the location of the generated WAR file
128-
. Run boot2docker and give the command
129-
+
130-
``docker build -it -p 80:8080 javaee7-sample``
131-
+
132-
. In a different shell, find out the IP address of the running container as:
133-
+
134-
``boot2docker ip``
135-
+
136-
. Access the sample as http://<IP>:80/jaxrs-client/webresources/persons
118+
* Install Docker client from http://boot2docker.io/
119+
* Build the sample that you want to run as
120+
121+
``mvn clean package -DskipTests``
122+
123+
For example:
124+
125+
``mvn -f jaxrs/jaxrs-client/pom.xml clean package -DskipTests``
126+
127+
* Change the second line in ``Dockerfile`` to specify the location of the generated WAR file
128+
* Run boot2docker and give the command
129+
130+
``docker build -it -p 80:8080 javaee7-sample``
131+
132+
* In a different shell, find out the IP address of the running container as:
133+
134+
``boot2docker ip``
135+
136+
* Access the sample as http://IP_ADDRESS:80/jaxrs-client/webresources/persons. The exact URL would differ based upon the sample.
137137

0 commit comments

Comments
 (0)