I'm new to docker so I might be doing this wrong, but I'm trying to install Tomcat6 through a Dockerfile
which like this:
FROM rhel7:latest
RUN cd /tmp
RUN "wget", "http://www.us.apache.org/dist/tomcat/tomcat-6/v6.0.44/bin/apache-tomcat-6.0.44.tar.gz"
RUN tar xzf apache-tomcat-6.0.44.tar.gz
RUN mv apache-tomcat-6.0.44 /usr/local/tomcat6
RUN cd /usr/local/tomcat6
Run ./bin/start.sh
Its failing on the 3rd line with the:
RUN "wget", "http://www.us.apache.org/dist/tomcat/tomcat-6/v6.0.44/bin/apache-tomcat-6.0.44.tar.gz"
When I run the docker build I get this:
I'm using:
- Oracle Virtual Box V4.3.28 r100309
- Docker on RHEL7
returned a non-zero code: 139
in a CentOS 7 server. I have solved my problem just uninstalling and reinstalling docker again.sudo yum remove docker.x86_64 docker-common.x86_64 docker-distribution.x86_64 docker-rhel-push-plugin.x86_64
sudo yum remove docker.x86_64 docker-common.x86_64 docker-distribution.x86_64 docker-rhel-push-plugin.x86_64
– Ehrsam