Bug 1399426

Summary: during pulling the image for docker no such host error is coming.
Product: [Fedora] Fedora Container Images Reporter: pooja <poojaabrol93>
Component: mirrormanager2-mirrorlistAssignee: Patrick Uiterwijk <puiterwijk>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: rawhideCC: puiterwijk
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-02-26 18:51:33 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description pooja 2016-11-29 04:15:54 UTC
Description of problem:
I have installed fedora 24 from its live image and trying to use docker on it. While pulling the image of docker lookup index.docker.io: no such host error is occurring.

Version-Release number of selected component (if applicable):
fedora 24 
docker version
Client:
 Version:         1.10.3
 API version:     1.22
 Package version: docker-common-1.10.3-54.gite03ddb8.fc24.x86_64
 Go version:      go1.6.3
 Git commit:      e03ddb8/1.10.3
 Built:
 OS/Arch:         linux/amd64

Server:
 Version:         1.10.3
 API version:     1.22
 Package version: docker-common-1.10.3-54.gite03ddb8.fc24.x86_64
 Go version:      go1.6.3
 Git commit:      e03ddb8/1.10.3
 Built:
 OS/Arch:         linux/amd64


How reproducible:when I run the following command:
 docker run -i -t fedora /bin/bash



Steps to Reproduce:
1. yum install docker engine
2. sudo systemctl start docker
3.sudo docker run -i -t fedora /bin/bash

Actual results:
when I run sudo docker run -i -t fedora /bin/bash command.I get the following output:

 docker run -i -t fedora /bin/bash
Unable to find image 'fedora:latest' locally
Trying to pull repository docker.io/library/fedora ...
Pulling repository docker.io/library/fedora
Error while pulling image: Get https://index.docker.io/v1/repositories/library/fedora/images: dial tcp: lookup index.docker.io: no such host
docker: Error while pulling image: Get https://index.docker.io/v1/repositories/library/fedora/images: dial tcp: lookup index.docker.io: no such host.
See '/usr/bin/docker-current run --help'.


Expected results:

Unable to find image 'fedora:latest' locally
latest: Pulling from docker.io/fedora
48ecf305d2cf: Pull complete 
ded7cd95e059: Already exists 
docker.io/fedora:latest: The image you are pulling has been verified. Important: image verification is a tech preview feature and should not be relied on to provide security.
Digest: sha256:10ba981a70632d7764c21deae25c6521db6d39730e1dd8caff90719013858a7b
Status: Downloaded newer image for docker.io/fedora:latest

Additional info:

Comment 1 Ben Cotton 2020-02-11 21:36:54 UTC
Due to a gap in process, bugs filed against Fedora Container Images rawhide did not get branched with other Fedora bugs. Based on the creation date, this bug appears to have been filed during or before the Fedora 29 development cycle. If this is not correct, please update the version appropriately or set needinfo for bcotton.

Since Fedora 29 is EOL, I will close this bug in two weeks if it has not been updated to a supported (30, 31) or development (32, rawhide) version.

Comment 2 Ben Cotton 2020-02-26 18:51:33 UTC
This bug appears to have been reported during the development cycle of a release that has since reached EOL status.