-
-
Notifications
You must be signed in to change notification settings - Fork 155
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
can't pull docker image in China #186
Comments
I guess you have to figure that out yourself since I can't try anything for you.
Maybe your Docker version is too old? The flag just makes it pull updates before every run. You can also manually Is ghcr.io blocked as well? |
Thank you for your reply. Regarding the issue of not being able to pull the image, I have already pulled it through an overseas online docker learning website and pushed it to our domestic private image server, so the first issue has been resolved. Regarding the issue of 'Docker will prompt' unknown flag: -- pull ', it should be that my Docker version is too old and I do not intend to use this parameter. Now I have configured config.env and the startup command is: 'Docker run -- rm - p 6080:6080- v fgc:/fgc/data -- env file=/fgc/config.env ec6dd9a5995d node epic games'
This is a screenshot of the content of the env file: Looking forward to your reply and wishing you a happy life |
Looks like you have some limit on the number of processes. You can check Some people say the problem was resolved for them by upgrading docker:
What |
this is my docker info:
```
Containers: 8
Running: 1
Paused: 0
Stopped: 7
Images: 6
Server Version: 1.13.1
Storage Driver: overlay2
Backing Filesystem: xfs
Supports d_type: true
Native Overlay Diff: true
Logging Driver: journald
Cgroup Driver: systemd
Plugins:
Volume: local
Network: bridge host macvlan null overlay
Swarm: inactive
Runtimes: runc docker-runc
Default Runtime: docker-runc
Init Binary: /usr/libexec/docker/docker-init-current
containerd version: (expected: aa8187dbd3b7ad67d8e5e3a15115d3eef43a7ed1)
runc version: 8891bca22c049cd2dcf13ba2438c0bac8d7f3343 (expected: 9df8b306d01f59d3a8029be411de015b7304dd8f)
init version: fec3683b971d9c3ef73f284f176672c44b448662 (expected: 949e6facb77383876aeff8a6944dde66b3089574)
Security Options:
seccomp
WARNING: You're not using the default seccomp profile
Profile: /etc/docker/seccomp.json
selinux
Kernel Version: 3.10.0-1160.76.1.el7.x86_64
Operating System: CentOS Linux 7 (Core)
OSType: linux
Architecture: x86_64
Number of Docker Hooks: 3
CPUs: 6
Total Memory: 5.661 GiB
Name: localhost.localdomain
ID: 275V:XDYX:DQ2Z:ZU6I:CYDH:AULS:H56D:TICM:NHNA:X5YY:DZPZ:OLP7
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
Registry: https://index.docker.io/v1/
WARNING: bridge-nf-call-iptables is disabled
WARNING: bridge-nf-call-ip6tables is disabled
Experimental: false
Insecure Registries:
127.0.0.0/8
Live Restore Enabled: false
Registries: docker.io (secure)
```
…------------------ 原始邮件 ------------------
发件人: ***@***.***>;
发送时间: 2023年8月21日(星期一) 下午5:57
收件人: ***@***.***>;
抄送: ***@***.***>; ***@***.***>;
主题: Re: [vogler/free-games-claimer] can't pull docker image in China (Issue #186)
结节[17]: ../src用户名:/node_platformunique_ptr<long无符号《国际互联网》node::WorkerThreadsTaskRunner::DelayedTaskScheduler::Start(): 断言(0)==(uv_thread_create(t.get,start_thread,this))失败了。
看起来你对进程的数量有一些限制。您可以检查ulimit -a. 看见用户评论#1754.
你可以试试Docker运行--特权,请看https://docs.docker.com/engine/reference/commandline/run/特权.
有人说这个问题是通过升级Docker为他们解决的:
浏览器/铬#2862
nodejs/node#43064
什么Docker版本你在用吗?
—
直接回复此邮件,在GitHub上查看,或取消订阅.
***@***.***与>.
|
Thank you for your help. I have already solved my problem. I added the '-- privileged' command as follows: |
-- privileged is work ,Thanks for your help. browserless: # marked
image: browserless/chrome # marked
restart: always # marked
privileged: true |
I am a user from China due to our national firewall. When I use Docker Pull, I am prompted not found, and I have tried proxy services with the same prompt.
Is there any other way to download images?
In addition, when I use the command line you provided to pull the image, the Docker will prompt "unknown flag: -- pull", as shown in the following figure:
Chinese:
我是来自中国的用户,由于我们国家防火墙的原因。我使用docker pull的时候提示not found,我尝试过代理服务同样是这个提示。
请问还有其他的下载镜像的方法吗?
另外我使用你提供的命令行拉取镜像会被docker提示“unknown flag: --pull”,如下图:
The text was updated successfully, but these errors were encountered: