Docker Community Forums

Share and learn in the Docker community.

Setting up Apache/HTTPD


(Bananalolzerz4) #1

I am new to Docker and I want to setup a Reverse Proxy using Apache/HTTPD to provide routing for a number of applications that are also in containers. How can I properly access and pull the Apache config files to make this setup so I can edit it on my computer and then re upload it into the Apache container?

(Sam) #2

copy the files to the same folder as your Dockerfile

edit them the way you want

then in your Dockerfile do

add localfilename proper location in running container

then when u run your contain, your config files are thereā€¦