docker 以指定人员非root进入到centos中 不需要用户时 docker exec -it centos_7 /bin/bash

不能缺少-it 

 

posted @ 2023-10-30 17:28  胖豆芽  阅读(4)  评论(0编辑  收藏  举报