Dockerize Apache mod_jk with Tomcat
- docker
- go to docker/httpd folder
- run this command
$ docker build -t httpd .
- go to docker/tomcat folder
- run this command
$ docker build -t tomcat .
$ docker run -d -p 8009:8080 --name tomcat tomcat
$ docker run -d -p 80:80 --link tomcat:tomcat --name httpd httpd
$ docker exec -it httpd bash
$ docker exec -it tomcat bash