S
S
sokolnikov2015-06-06 21:36:42
Software Deployment
sokolnikov, 2015-06-06 21:36:42

How to run multiple sites on one server from docker?

How to run one site inside a container is understandable.
But how do you run multiple sites, each in its own container? How to make several different containers listen on the same port?
(i.e. how to make docker containers work like virtual hosts?)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
T
tphd, 2015-06-06
@sokolnikov

For example, you can put nginx in front of them (you can put it in a container if you want) as a reverse proxy

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question