原創文章,歡迎轉載。轉載請註明:轉載自IT人故事會,謝謝!
原文鏈接地址:『中級篇』手動建立一個base Image(14)這篇文章主要介紹了Docker Base Image創建具體實現的相關資料,這裡提供了詳細的具體步驟,需要的朋友可以參考下github:https://github.com/limingios/docker.git
如何製作一個base Image
base Image 之前講過2種方式一種是通過pull docker官網獲1得,另一種是通過build的方式來獲得。自己製作肯定是通過base Image的方式。
docker pull hello-world
docker image ls
docker run hello-world