赞
踩
在利用dockerfile建立镜像时,遇到gpg: keyserver receive failed: Cannot assign requested address的错误,导致进程中断。
Step 4/8 : RUN gpg --keyserver hkp://keys.gnupg.net --recv-keys 38DBBDC86092693E
---> Running in 857af6ee308a
gpg: directory '/root/.gnupg' created
gpg: keybox '/root/.gnupg/pubring.kbx' created
gpg: keyserver receive failed: Cannot assign requested address
RUN mkdir ~/.gnupg && echo "disable-ipv6" >> ~/.gnupg/dirmngr.conf
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。