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用戶權限、進程空間、用戶空間和網絡空間等和運行在其中的應用程序。
*註:鏡像是只讀的,容器在啟動的時候創建一層可寫層作為最上層。