Bug 1249701 - Images fail to download from time to time, restarting docker.service helps
Summary: Images fail to download from time to time, restarting docker.service helps
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: Fedora
Classification: Fedora
Component: docker
Version: 22
Hardware: x86_64
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Michal Minar
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-08-03 15:20 UTC by Viktor Jancik
Modified: 2016-02-12 12:59 UTC (History)
11 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-10-28 17:32:53 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Viktor Jancik 2015-08-03 15:20:09 UTC
Description of problem:
Sometimes, downloading a docker image fails. This wouldn't be that much of a problem, if it could be quickly restarted, but the timeout seems to be over a minute and Ctrl+C doesn't kill the attempt to download (runs in the background) and prevents a retry, until the last one finishes.

Version-Release number of selected component (if applicable):
Docker version 1.7.1.fc22, build b6416b7/1.7.1

How reproducible:
Sometimes

Steps to Reproduce:
1. Make sure not to have the containers for the image downloaded.
2. docker run -it fedora:latest bash

Actual results:
Unable to find image 'fedora:latest' locally
Trying to pull repository docker.io/fedora ... failed
Get https://index.docker.io/v1/repositories/library/fedora/images: dial tcp: lookup index.docker.io: No address associated with hostname

Expected results:
Successful download and run.

Additional info:
The only way to retry quickly, is to restart docker.service. After this, it usually works, so I am sure it's not a docker.io blackout.

Comment 1 Daniel Walsh 2015-08-21 04:09:22 UTC
I have no idea what could cause this.

Michal any ideas?

Comment 2 Daniel Walsh 2015-09-29 13:58:26 UTC
Are you still seeing this problem with docker-1.8.2?

Comment 3 Honza Horak 2016-02-12 12:59:07 UTC
Viktor is no longer in RH, so clearing the needinfo.


Note You need to log in before you can comment on or make changes to this bug.