直接回答的话,是的,就是这个——你的已构建镜像不受影响。该命令等同于 docker stop && docker rm,完全不影响 docker 镜像。
docker stop && docker rm