docker 进入容器内部及退出

dokcer ps -a 查询正在运行的container

docker exec -it 容器ID /bin/bash 进入容器

exit 退出容器

你可能感兴趣的:(docker 进入容器内部及退出)