Tomcat with Docker

I am testing out running a tomcat8 on my Mac. I have the following Dockerfile:

FROM tomcat:8-jre7

MAINTAINER "Sonam Lastname <>"

When I run the Docker container with the following command:

  • How docker manage volumes when scaling up compose project?
  • How to make docker networking — interfaces added using pipework persistent
  • Is there any official Docker images for Hadoop?
  • Closed Pipe error while doing sftp in vm using docker
  • Elastic Beanstalk CLI - Not replacing instance on deploy
  • Running NSQ in Docker
  • docker run -d -P sonam/docker-webapp

    I check for the docker process by

    docker ps -l

    and see the port mapped at:>8080/tcp

    I am not able to access the tomcat page with localhost:32769 (and even tried to 8080 port).



  • Creating a docker-compose with PHP drivers for mongo+memcache+ES
  • Should I include my webapp source in my docker image, or mount it when i run a container?
  • Docker calling unit tests
  • Manifest invalid error while pushing an image in bluemix
  • Access Docker container /home folder on host
  • how to securely connect to a mysql server running on a virtual machine
  • One Solution collect form web for “Tomcat with Docker”

    Docker runs in a virtual machine when on Mac. Tomcat will listen to that network interface.

    You can run docker-machine ip <name of your docker machine> and access it via that IP instead of localhost.

    If on boot2docker, it is similar: boot2docker ip.

    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.