- docker ps -a 查看所有容器,包括未运行的 - docker exec -it CONTAINERID bash 进入容器命令行 - docker logs -f --tail=200 CONTAINERID 查看日志 200表示行数