https://bugzilla.redhat.com/show_bug.cgi?id=1084232
Bug ID: 1084232
Summary: Docker fails to pull images from behind a proxy server
Product: Fedora
Version: 20
Component: docker-io
Severity: low
Assignee: lsm5(a)redhat.com
Reporter: dbond(a)nrggos.com.au
QA Contact: extras-qa(a)fedoraproject.org
CC: admiller(a)redhat.com, golang(a)lists.fedoraproject.org,
lsm5(a)redhat.com, mattdm(a)redhat.com,
mgoldman(a)redhat.com, skottler(a)redhat.com,
vbatts(a)redhat.com
Description of problem: Docker-io does not work behind a proxy server
The docker daemon does not use the proxy and attempts to access directly
Version-Release number of selected component (if applicable):
How reproducible:
Always
Steps to Reproduce:
HTTP_PROXY=http://my_proxy:3128/ docker pull busybox
Actual results:
Pulling repository busybox
2014/04/04 08:56:42 Get
https://index.docker.io/v1/repositories/busybox/images:
dial tcp: lookup index.docker.io on [10.x.x.x]:53: no such host
Expected results:
Unable to find image 'busybox' locally
Pulling repository busybox
769b9341d937: Download complete
511136ea3c5a: Download complete
bf747efa0e2f: Download complete
48e5f45168b9: Download complete
hello world
Additional info:
Fixed by adding an environment file to docker.service
Add file /etc/sysconfig/docker containing
HTTP_PROXY=http://my_proxy:3128
Add
EnvironmentFile=-/etc/sysconfig/docker
to docker.service file
--
You are receiving this mail because:
You are on the CC list for the bug.