查看容器的基本信息
docker ps
进入已经运行的 Docker 容器
方式一
docker exec -it <container_name_or_id> /bin/bash
方式二
docker exec -it <container_name_or_id> /bin/sh
docker ps
docker exec -it <container_name_or_id> /bin/bash
docker exec -it <container_name_or_id> /bin/sh