docker容器内使用apt-get报错

错误

 

 解决

docker exec -u 0 -it 容器名称 /bin/bash

-u 0代表使用root权限进入容器

posted @ 2021-09-22 11:38  芝幽幽  阅读(518)  评论(0编辑  收藏  举报