docker exec -u 0 <container> <command>
例:
sudo docker exec -it -u 0 ea269 /bin/bash
Docker以root用户进入容器docker exec -u 0
最新推荐文章于 2024-02-22 00:15:00 发布
docker exec -u 0 <container> <command>
例:
sudo docker exec -it -u 0 ea269 /bin/bash