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.

  • Google Container Engine Expose Service “Site Cannot Be Reached”
  • How to use “Docker Quickstart Terminal” to start another docker-machine?
  • Hot to enable swarm containers to connect to the host machine?
  • connect to docker hosted on remote server
  • Docker + Nginx + ngx_http_image_filter_module
  • Can I use mem_limit in docker-compose? and How?
  • 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.

  • Fail to create postgres extensions through bash script
  • How I can run docker containers on the remote host?
  • how to in increase number of tcp connection above 65536 in Docker
  • How to create docker base image from Amazon Linux AMI
  • Unable to find Spring libraries on the classpath
  • How to select Docker host to use with new Eclipse Liberty WDT tools
  • Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.