docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES $ docker ps -a CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 139218fe7bd4 hello-world "/hello" 22 minutes ago Exited (0) 21 minutes ago angry_pike P.S -a 為印出所有包含停⽌止的容器, -q 只顯⽰示 ID, -s 顯⽰示暫⽤用⼤大⼩小, -l 最新容 器, -n=“” 要顯⽰示幾個容器, -before=“” 顯⽰示特定名稱之前,-after=“” 之後。 $ docker logs --tail <Container_ID>