可以使用 docker rm来删除一个处于终止状态的容器。 例如
docker rm
$sudo docker rm trusting_newtontrusting_newton
如果要删除一个运行中的容器,可以添加 -f参数。Docker 会发送 SIGKILL信号给容器。
-f
SIGKILL