sudo docker attach mysql在镜像(或容器)中安装SSH Server,使用shhd登录docker exec -it mysql /bin/bash 查看容器信息 sudo docker inspect mysql