docker_practice/basic_concept/container.md

9 lines
469 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

## Docker 容器
Docker 利用容器來執行應用。
容器是從鏡像創建的執行實例。它可以被啟動、開始、停止、刪除。每個容器都是相互隔離的、保證安全的平台。
可以把容器看做是一個簡易版的 Linux 環境包括root用戶權限、程序空間、用戶空間和網路空間等和在其中執行的應用程序。
*註:鏡像是唯讀的,容器在啟動的時候創建一層可寫層作為最上層。