To run (if port 8080 is open on your host):
# docker run -d -p 8080:8080 --name nexus haidong/docker-tomcat
To determine the port that the container is listening on:
# docker ps -l
To test:
$ curl http://localhost:8080/
Content type
Image
Digest
Size
265.5 MB
Last updated
about 9 years ago
docker pull haidong/tomcat