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.

  • Docker: JACK server is not running
  • Docker container in priviledged mode not showing udev symlinks
  • Keybindings are not working in vifm when connecting through ssh
  • docker-machine in docker on server
  • docker-compose service and the network
  • How to run a docker container which acts as a proxy/gateway?
  • 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.

  • How to tune/troubleshoot/optimize docker block i/o on AWS
  • how to modify files in a container using a script
  • Kafka Endless NotLeaderForPartitionException for ReplicaFetcherThread
  • Docker: user change in terminal prompt
  • Use docker in restricted internet environnement
  • Idiomatic way manage persistent data stores in Docker
  • Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.