docker exec -u 0 <container> <command>

例:
sudo docker exec -it -u 0 ea269 /bin/bash

相关文章: