If it doesn't work, check the access log of httpd or tomcat container to see how far you have reached. Link with docker-compose docker-compose.ymlĬonfirm that the container has started and click the URL below to see the tomcat home page. To allow tomcat manager to run on anything other than the hostname localhost. RUN rm -rf /usr/local/tomcat/webapps/ROOT httpd won't start correctlyĪDD tomcat-users.xml /usr/local/tomcat/conf/ĪDD context.xml /usr/local/tomcat/webapps/manager/META-INF/context.xml # context after restarting the container. # Make sure we're not confused by old, incompletely-shutdown httpd # Simple startup script to avoid some issues observed with container restart RUN yum -y install httpd httpd-devel gcc* make & yum clean all I personally want to study apache on centos, so install it and create an image Dockerfile
For the time being, I want to make something that works at least and customize it in the future! Apache container creation I don't want to depend on the IDE, so I'll do my best to create a command-based environment (tsu ・ Д ・) The resulting environmentĬreate each container and attach them with docker-compose.yml at the end. I want to make a web application with Java, so I'll try to mess up the local environment! !!