> For the complete documentation index, see [llms.txt](https://kawsing.gitbook.io/opensystem/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://kawsing.gitbook.io/opensystem/docker-cong-an-zhuang-dao-ying-yong-ru-men-pian/shi-yong-dockerfile.md).

# 使用Dockerfile建立用於xoops的images

## **使用Dockerfile建立自己的 docker image（基於 ubuntu16.04 包含apache2 + php7）**

**下載** [**Dockerfile**](https://drive.google.com/file/d/1CU-FoFp0DXA4hYzlu7Dg0cQ0s7KRTSYT/view?usp=sharing)

**unzip xoops-Dockerfile.zip**

**cd xoops**

**建立映像檔（ubuntu16.04 base）**\
**docker build -t kawsing/xoops .**

檢視映像檔\
**docker images kawsing/xoops**

![](https://529150212-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lh81JtaIQ84bwQqz_Wh%2F-LkqCA28xBZctsRKZ3zw%2F-LkqCBUU5T2OXyiFMt2h%2Fimage.png?alt=media\&token=7cffe064-afda-46c3-885b-035120beb74e)
