Skip to content

Latest commit

 

History

History
11 lines (8 loc) · 269 Bytes

File metadata and controls

11 lines (8 loc) · 269 Bytes

刪除容器

可以使用 docker rm 來刪除一個處於終止狀態的容器。 例如

$sudo docker rm  trusting_newton
trusting_newton

如果要刪除一個執行中的容器,可以新增 -f 參數。Docker 會發送 SIGKILL 訊號給容器。