docker 如何安装 apache

安装命令:
docker run -p 8888:80 \
-v $PWD/www/:/usr/local/apache2/htdocs/  \
-v $PWD/conf/httpd.conf:/usr/local/apache2/conf/httpd.conf  \
-v $PWD/logs/:/usr/local/apache2/logs/ -d httpd

标签: apache2、httpd、pwd、conf、usr、面试
猜你感兴趣的圈子:
docker技术交流
  • 回复
隐藏