Can't deploy .war file using tomcat 6.0.24 and docker

I’m using docker and tomcat 6.0.24 and centos6.6. I want to use the “RUN” command

RUN /usr/local/apache/bin/

in dockerfile and unpack the war, so that it can be edited through dockerfile itself.

  • Local Java App not running on HBase/Phoenix Docker image
  • Empty response from server running inside Docker container
  • How to read environment variable in Nodejs?
  • Socketplane and Docker : How to connect 2 (or more) physical hosts with each others
  • How can I run Neo4j with larger heap size, specify -server and correct GC strategy
  • Linked docker containers can't communicate with each other
  • The problem is invoking which seems to be successful, as docker build continues after that but when I docker run the final image to spawn a container, the .war file hasnt been unpacked.

    I’ve searched a lot and any help would be appreciated.

    I tried making tomcat as a service and used source before the command to no avail.

  • Connect to docker-machine using docker-py (OSX)
  • Docker Compose: Exposing Environment Variables to linked service
  • Restore Tensorflow model on docker
  • Docker private registry can't find tags when pulling
  • How to setup a docker swarm cluster with AWS ubuntu machine [closed]
  • How does Docker use ports 2375 and 4243?
  • Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.