点我的域到特定的docker容器与Apache

我开始使用Docker,我想在不同的容器中分离一些项目。

我开始用这个创build一个容器:

docker run -i -t -p 8080:80 --name apache-php --link postgresdb:postgresdb --link mysqldb:mysqldb -v /home/volumes/html:/var/www/html php:5.6-apache /bin/bash 

我遵循这些步骤来创build一个“基于名称的虚拟主机”: https : //www.linode.com/docs/websites/hosting-a-website ,工作正常

如果我访问我的域名,例如:example.com:8080页面打开,但是如果我访问example.com,页面不会打开

阅读了一些教程后,我尝试在example.com.conf中使用代理:

 # domain: example.com # public: /var/www/html/example.com/public_html/ <VirtualHost *:80> # Admin email, Server Name (domain name), and any aliases ServerAdmin webmaster@example.com ServerName example.com ServerAlias example.com www.example.com # Index file and Document Root (where the public files are located) DirectoryIndex index.html index.php DocumentRoot /var/www/html/example.com/public_html # Log file locations LogLevel warn ErrorLog /var/www/html/example.com/log/error.log CustomLog /var/www/html/example.com/log/access.log combined ProxyRequests On ProxyVia On <Proxy *> Order deny,allow Allow from all </Proxy> ProxyRequests Off ProxyPass / http://www.example.com:8080 </VirtualHost> 

但是还没有工作= /

我怎样才能把我的域名指向特定的容器?