S
S
semki0962017-03-26 13:35:59
Apache HTTP Server
semki096, 2017-03-26 13:35:59

How to setup apache in docker container?

There is a php application on ubuntu + apache2. Additionally, Docker is running and a container is created - ubuntu + apache. The idea is this - from the application we make a post request that needs to be processed in the container. Question - how to configure Apache container for this purpose?
I'm just getting started with docker. The first thing that comes to mind is to set up a local host. For example, if the main application has the address test.com, then in the docker I set up the test.com/my_post host. I leave the port by default: 80.
Do I think correctly (I suspect not).

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question