赞
踩
想build一个镜像,终端输入命令:
docker build . -t client-custom:latest
报出如下错误:
ERROR: failed to solve: laoaby/2024rmus:test: pull access denied, repository does not exist or may require authorization: server message: insufficient_scope: authorization failed.
于是我很快上网去查,出来的结果都是叽里呱啦不知道在讲什么,搞来搞去扯一通丝毫没有解决办法,完全是浪费时间,恶心死人了。
查看Docker教程,受到启发,命令前面加个sudo即可。
也即:
sudo docker build . -t client-custom:latest
over.
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。