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
Unable to pull docker images in Iran #369
Comments
I have the same issue This is the output from runnig docker pull command on linux $ docker pull centos
Using default tag: latest
Pulling repository docker.io/library/centos
Error: Status 403 trying to pull repository library/centos: "<html><body><h1>403 Forbidden</h1>\nRequest forbidden by administrative rules.\n</body></html>\n\n" |
Same problem here, it seems docker hub banned all ips from iran. Why is that? |
Same here. This seems to have happened recently? |
On the mailing list (https://goo.gl/52fp8W), Solomon @shykes notes that this is a result of a legal restriction given that: a) Docker Inc. is a US-based company; and It's understandable that Docker must abide by the laws of the United States, however, perhaps a more detailed/descriptive error message would help here. |
@jawnsy thanks for clarifying this issue. @shykes I think these restriction are wrong for following reasons:
|
Siavash @siavashs,
Probably none of us here are attorneys, hence why we're the wrong people to be making this sort of call. While this is certainly inconvenient, there's no reason to believe that Docker Inc was acting in bad faith when it chose to impose this restriction: perhaps a lawyer has advised them to make this change, or maybe they've made the change to err on the safe side while they discuss with qualified legal professionals. That said, I agree with you and think this decision should be reconsidered. Given that Docker is open sourced under one of the most permissive licenses out there, they clearly have an interest in having the largest userbase possible. However, sometimes technical folks like us are forced to do things that we disagree with, for legal reasons -- it would not serve the rest of Docker's userbase, either, if Docker Inc were to get into legal trouble over this. |
I think there is a revised version of General License D issued by Treasury Department’s Office of Foreign Assets Control, according to which such sanctions and restrictions are lifted. I can't be sure of this matter, but this is what one understands from the text itself (section a3): http://www.treasury.gov/resource-center/sanctions/Programs/Documents/iran_gld1.pdf It'd be awesome if these matters could be communicated with Docker Inc. legal team somehow, if they're willing to dedicate some time, dive a bit deeper into this legal issue and make a helpful decision as it's causing an awful lot of trouble for people actively using this project and are residing in Iran. |
Please reconsider this decision. It is not fair. |
As I checked you have also blocked access to https://hub.docker.com/ website. |
This is a legal issue, and like @ashkang, I beleive it should be solved when the legal team of docker review the General License D document. I believe the legal team doesn't check github! Can a project collaborator please link us to the legal team, and also ask them about a more descriptive reason on this blockage? There are different sanction acts, and most of them are related to financial transactions and shipment insurance. There is no general sanction banning all type of interactions between Iranians and the other people on the planet earth. |
Same for me :( |
Hi mohammad you can setup your own registery on a server outside of iran and mirror it On Thu, Oct 15, 2015 at 9:40 PM, Mohammad Moradi notifications@github.com
Best Regards |
Hi Naser |
what do you mean by local apps? On Thu, Oct 15, 2015 at 11:02 PM, Mohammad Moradi notifications@github.com
Best Regards |
I have owncloud image in my ubuntu Docker is jammed (no pull, no run) |
restriction is a violation of Section 5 of the open source definition which states licenses must not discriminate "against any person or group of persons." Seems docker is following some closed source limited to group of persons terms of service Hope docker realize that, i did dropped using docker entirely which was such a pain after developing my entire dev platforms on top of that , but after a while i found rocket and i definitely encourage people to use that instead of docker "Docker process model - where everything runs through a central daemon - is fundamentally flawed." There is a lot of new implementations and none of them blocking Iran , do your research and find whats best for you flockport , rocket , ... |
International prohibition against Iran lifted, and now you can remove Iran from your blocking list. |
If this is still a problem you could work around this issue by setting up a cache in another country, from which you can pull in Iran, see https://github.com/docker/distribution/blob/master/docs/mirror.md |
Statement Relating to the Joint Comprehensive Plan of Action “Implementation Day” of January 16, 2016: https://www.treasury.gov/resource-center/sanctions/Programs/pages/iran.aspx I believe this statement will satisfy even the most conservative lawyers that providing Docker hub services to Iranians is completely legal now. I know it may not be like a high priority task for your team to review the statement and undo the blocking, but please consider it as a symbol of respect for minorities in your great community 😄 Thank you very much |
I think if we're not purchasing, it's not a trade and hence doesn't fall under any sanctions, even if there is one that would apply |
دوستان از تحریم درومدیم حالا هنوز نمیتونیم از داکر استفاده کنیم ؟ |
@clacki ازین تحریما در نیومدیم |
@meysam https://groups.google.com/forum/#!topic/software-taak/xRmFWrozRoo |
@clacki jalebe, dastet dard nakone, test nakardam vali bayad kar kone |
@meysam تونستی به منم یاد بده چیکار کنم . |
For those who are still looking for a way to work with Docker and have problem with pulling images from docker hub, I solved my problem with the following solution:
save, close and then enter the following commands: I have figured this solution from the links other guys provided here. For other operating systems and linux distros , please view the docker's Documents for finding out about configuration and setting options. |
The message has been updated a while ago:
|
some Google sanctions has been removed recently: http://developer.google.com and so on. |
Hey guys, i think according to U.S Department of the treasury, iran sanctions after 16 January 2016 is lifting as described on this document:
Which refered as a "historic day", and now after 5 month we still have problem with docker and docker team does not respond to any of these comments. |
check this out http://www.docker.ir/ |
@maysam Do you have any info regarding docker.ir? They have stopped their services suddenly.. |
Update for those using Ubuntu 14.04: Proceed as in the solution of @vahobrsti, but note that all systemd commands (like |
for Linux ubuntu 17.04 |
Docker.ir doesn't seem to include some images |
Thank You for your question @siavashs and the solution of @araselahi worked for me! please enter your question on stackoverflow if it is not submitted before and tell us to rate it ;) Thank you so much! |
Hello guys, I'm trying also to build a docker image and I'm getting the restriction message (I'm from Syria), I am using docker toolbox on Windows and I tried the Chinese docker mirrors "https://docker.mirrors.ustc.edu.cn" and "https://registry.docker-cn.com" by updating the config.json file and restarting the machine "docker-machine restart default" but I get same error, I also tried the Iranian mirror mentioned above but still same error. I'm new to docker and I'm looking for help. |
I have the same problem, None of them worked for me, But I am still trying... |
I tried https://shecan.ir/, Change the DNS Server addresses to 178.22.122.100 for preferred DNS server and 185.51.200.2 for Alternate DNS server. |
Thanks for your reply, it's appreciated I found another workaround as well, I'll mention a link to it here, it might also be useful. https://gist.github.com/aliva/06cb2e0d7a2a5990d4d682dab57fb302#gistcomment-2995333 |
The last comment is vulgar, very disrespectful toward a group of people and contains racial hate speech. It should be removed and the user should be reported! |
داداش با پول بابایی سویس حال میده ؟ |
Don't Use docker.ir They are Iranian government spies. The containers on docker.ir have virus and spyware on them. |
هر کی به این تامپ اپ میده حسابش فلگ میشه ولی خود نظر پاک نمیشه |
اینجا رو اینستا نکنید بسه دیگه |
Hey Docker! |
@mjzarrin Thankfully the Chinese host these images in multiple repositories, and unlike the westerners the Chinese are not hellbent on terrorizing us at every opportunity. They are freely hosting these repos as our friends. Make sure to remember this favor from them.
source: https://developpaper.com/docker-hub-mirror-accelerator/ The instructions for those with SysV instead of systemd are the same, except instead of doing اگر به کمک نیاز دارید ، در صورت تمایل به من پیام دهید |
We are clearing up our old issues and your ticket has been open for 6 months with no activity. Remove stale label or comment or this will be closed in 15 days. |
I tried with PIA VPN and most of times it doesn't work for docker. I purchased it to support Archlinux (Affiliates page) |
@mahdi-ln what Chinese mirrors are you referring to? Our mirrors in China are no longer running, AFAIK. |
Thank you @kamysheblid it's worked for me |
Hi Kazem
Thanks for all the effort you made to provide these facilities.
Best Regards
…On Fri, Mar 3, 2023 at 1:00 AM Kazem Mirzaei ***@***.***> wrote:
@mjzarrin <https://github.com/mjzarrin> Somewhere I saw people saying to
use http://docker.ir/. I tried to setup mirroring using that site but I
continue to get rate-limited. I found a faster and less hacky way of
getting around the western blocking.
Thankfully the Chinese host these images in multiple repositories, and
unlike the westerners the Chinese are not hellbent on terrorizing us at
every opportunity. They are freely hosting these repos as our friends. Make
sure to remember this favor from them.
sudo mkdir -p /etc/docker
sudo tee /etc/docker/daemon.json <<-'EOF'
{
"registry-mirrors": [
"https://1nj0zren.mirror.aliyuncs.com",
"https://docker.mirrors.ustc.edu.cn",
"http://f1361db2.m.daocloud.io",
"https://registry.docker-cn.com"
]
}
EOF
sudo systemctl daemon-reload
sudo systemctl restart docker
source: https://developpaper.com/docker-hub-mirror-accelerator/
The instructions for those with SysV instead of systemd are the same,
except instead of doing sudo systemctl daemon-reload; sudo systemctl
restart docker you simply do sudo service docker restart. Make sure to
also run sudo service docker status to check that it loaded the docker
daemon correctly.
اگر به کمک نیاز دارید ، در صورت تمایل به من پیام دهید فارسی من هنوز خیلی
خوب نیست ، اما سعی می کنم به هموطنانم کمک کنم
Thank you @kamysheblid <https://github.com/kamysheblid> it's worked for me
—
Reply to this email directly, view it on GitHub
<#369 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABDHPU3UTWZIL27NW75IGMLW2EGQTANCNFSM4BQTUUMA>
.
You are receiving this because you commented.Message ID:
***@***.***>
--
*Moslem Ezati*
*WhatsApp: +98 935 43 29 781*
|
as a none Iranian team this is very sad that our fellow devs cannot use this tool. we will try our best to make a work around for this -from NETFREEDOM team |
We're tired of all docker bs, they are anything but open source project now. We decided to move to podman. |
I recently noticed that it's not possible to pull any docker images in Iran.
This is the output from my Mac, using latest docker toolbox:
This message is confusing, but after trying to pull the image on our production server which has been running docker for some time, I got a better error message:
At first I thought that the government telecom has made a mistake and filtered the repository.
But after some digging around I found out that CloudFront has blocked our IP addresses:
I tested from 3 different data centers and all are blocked!
Did you guys enable the CloudFront's Geo Restrictions or intentionally blocked Iranian users?
The text was updated successfully, but these errors were encountered: