docker_practice/basic_concept/container.md

9 lines
481 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使用者權限、程序空間、使用者空間和網路空間等和在其中執行的應用程序。
*註:映像檔是唯讀的,容器在啟動的時候建立一層可寫層作為最上層。