权限不够 , 使用 root权限进入容器 -u o 代表root用户登陆
docker exec -u 0 -it 容器名 /bin/bash # 0 表示root
若有收获,就点个赞吧
0 人点赞
让时间为你证明