docker以root用户登录

docker exec -u 0 -it <container_id> /bin/bash

posted @ 2023-11-24 10:41  ahuo  阅读(17)  评论(0编辑  收藏  举报