문제

I am a new user of docker.io.

I want deploy multiple docker.io containers in one linode host, for example:

  • blog.xi3.io <--> docker container #1 with a blog app
  • data.xi3.io <--> docker container #2 with a data app
  • ....
  • xxx.xi3.io <--> docker container #n with a xxx app
도움이 되었습니까?

해결책

Related to port redirect to docker containers by hostname. In order to accomplish that you'll need to have each container expose it's port 80 (or whichever port an app server is listening on) to the host and then run some sort of a reverse proxy on the host machine to route the traffic properly.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top