20190327
docker
創建一個檔名叫Dockerfile
# gedit Dockerfile

創建index.html檔



完成後可以看到多了一份資料


開網頁測試看看

成功後的畫面會像這樣。
Last updated
Was this helpful?
docker
創建一個檔名叫Dockerfile
# gedit Dockerfile

創建index.html檔



完成後可以看到多了一份資料


開網頁測試看看

成功後的畫面會像這樣。
Last updated
Was this helpful?
Was this helpful?
# docker build -t centos:web# docker run -d -p 8082:80 centos:web /usr/sbin/apachectl DFOREGROUND