进入容器命令:

docker attach 容器ID

或者

docker exec -it 容器ID /bin/bash 

或者

docker exec -it 容器的name bash

退出容器命令

exit

或者

Ctrl+P+Q

相关文章: