fixes tag names.

This commit is contained in:
Alex Soto 2015-07-17 10:30:16 +02:00
parent 3086b734c1
commit 302d8b90cc
1 changed files with 4 additions and 7 deletions

View File

@ -28,19 +28,16 @@ Below are some press releases that might be helpful:
Run the default TomEE server (`CMD ["catalina.sh", "run"]`):
docker run -it --rm tomee/<flavor>:<tomeeversion>\-<java-version>\-
docker run -it --rm tomee:<java-version>\-<tomeeversion>\-<flavour>
For example:
For example running Apache TomEE 1.7.2 with JRE 8 and Webprofile flavour will be:
docker run -it --rm tomee/webprofile:<tomeeversion>-jre7
docker run -it --rm tomee:8-jre-1.7.2-webprofile
or
docker run -it --rm tomee/jaxrs:<tomeeversion>-jre7
You can test it by visiting `http://container-ip:8080` in a browser or, if you need access outside the host, on port 8888:
docker run -it --rm -p 8888:8080 tomee/plus:<tomeeversion>-jre7
docker run -it --rm -p 8888:8080 tomee:<java-version>\-<tomeeversion>\-<flavour>
You can then go to `http://localhost:8888` or `http://host-ip:8888` in a browser.