Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docker build镜像时网络错误 #58

Open
Hezhexi2002 opened this issue Nov 17, 2022 · 3 comments
Open

docker build镜像时网络错误 #58

Hezhexi2002 opened this issue Nov 17, 2022 · 3 comments

Comments

@Hezhexi2002
Copy link

@RokasUrbelis 大佬,首先十分感谢您的工作,就是我在运行bash.sh时有如下报错:
image
这个127.0.0.1:45281是我之前使用的lantern代理地址,然后我现在换成使用从clash,代理地址变成127.0.0.1:7890,所以我尝试在run.sh中docker build后面添加参数指定代理如图:
image
但是再次运行仍然有这个报错,所以我想请教一下大佬这个问题是是什么导致的以及如何解决,望大佬拨冗解答!

@Hezhexi2002
Copy link
Author

image
@RokasUrbelis 大佬,我应该找到原因了,是我原来在dockerd中设置过端口一直忘改了,现在改过来就没问题了

@Hezhexi2002
Copy link
Author

image @RokasUrbelis 大佬,我应该找到原因了,是我原来在dockerd中设置过端口一直忘改了,现在改过来就没问题了

image
不好意思,大佬,现在还是有问题,在安装软件包时还是有错误,应该是软件源的问题,我看您的Dockerfile中是有一行替换sources.list的:
image
但不知道为什么您把他注释了,我把这行取消注释后,还是会报错,然后我尝试换成tuna源,但仍然不行,大佬能够提供一些建议吗?

@Hezhexi2002
Copy link
Author

@RokasUrbelis 大佬,这个问题已经解决了,我把tuna源中的https全换成http就可以了,但是现在启动tim了提示登录超时,见https://github.com/RokasUrbelis/docker-wine-linux/issues/59

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant