Ubuntu 17.04 docker index files failed to download






















I had pretty the same problem. The provided solution didn't help in my case. But it worked as soon I updated my Dockerfile adding environment variables for the proxy in it. It's likely due to your local caching name server listening on In my case running Ubuntu That's the file which was hiding the error:. And it started working. I am looking for a solution that would work in all cases - on our VPN which needs the custom DNS servers as well as home on a normal network.

Create a local repo mirror - this can also be done as a docker-mirror-packages-repo. Then run "docker build --add-host "archive.

That is not only faster but it ensures a better reproducibility of your builds. I am using that for the testsuite of the docker-systemctl-replacement which is testing compatibility with a number of distros each with dozens of docker rebuilds.

Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams? Done Package docker-ce is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package 'docker-ce' has no installation candidate.

That did it. Any idea when this will be available in the stable channel? We haven't had a "stable" channel release other than bug fix patches since March The next stable release is Thanks for the update! I had to use sudo apt install docker. I knida missed them. Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment. At this point, you should have both the Main repository and community-supported repositories at your disposal. Alternatively, you might consider switching to the nearest mirror — which often happens to be the fastest mirror — relative to your geographical location.

The easiest approach is to ensure that the mirror defined within the sources list file includes the country code relative to your country of residence. If your location is not in the United States , just overwrite the US country code with the appropriate country code. For instance, if you are located in Canada , replace us with ca as shown in the file as shown.

This is by far the easiest method of fixing this error. The three methods outlined should help you resolve this nagging error on Ubuntu. TecMint is the fastest growing and most trusted community site for any kind of Linux Articles, Guides and Books on the web.

N0rbert I re-update the question — Slim. Show 1 more comment. Active Oldest Votes. Install aptitude on Improve this answer. N0rbert N0rbert Try sudo apt-get clean then sudo apt-get update and retry. It seems to be network issue. Add a comment. Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password. Post as a guest Name. This page contains more details about how to install and run docker from a binary.

Ubuntu Community Ask! Sign up to join this community. The best answers are voted up and rise to the top. Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams?

Learn more. How to install Docker on Ubuntu Asked 4 years, 7 months ago. Active 3 years, 8 months ago. Viewed 51k times. N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use. N: See apt-secure 8 manpage for repository creation and user configuration details.

They have been ignored, or old ones used instead. Improve this question.



0コメント

  • 1000 / 1000