Public Repository

Last pushed: a year ago
Short Description
Image includes petclinic Spring Application loaded on tomcat 8.0
Full Description

Contents:

  • Petclinic War file
  • Tomcat 8.0
  • admin/admin as tomcat manager's username/password

Deployment instructions:

  • Do a docker pull. [docker pull jparasha/petclinic-on-tomcat]
  • Run the downloaded image [docker run -d -p 8080:8080 jparasha/petclinic-on-tomcat]

Accessing the running app:

  • Note the docker machine IP address. [docker-machine ip]
  • Go to web-browser in the host Machine ( Chrome/IE ).
  • Type in the ip address and port number. Add a route "petclinic".
    [example: http://192.168.99.100:8080/petclinic ]
  • Or verify the same on docker console : cURL http://192.168.99.100:8080/petclinic

Stopping the running container:

  • Use docker ps to list running containers.
  • Find the petclinic container and note first few unique characters or whole containerID.
  • Use docker stop <CONTAINERID> to stop the container
Docker Pull Command
Owner
jparasha