docker使用root权限登录shell

1
docker exec -it -u <root uid> <container_name> <command>

ps:
uid多为0,kernel中hard_code