Closed noraj closed 7 years ago
I've never had that issue. Which version of the docker engine and compose are you running? On Thu, Apr 27, 2017 at 04:22 Alexandre ZANNI notifications@github.com wrote:
Seems there is an error or a step is missing in DOCKER_README.md https://github.com/mcpa-stlouis/hack-the-arch/blob/dev/DOCKER_README.md ?
docker-compose up -d Creating network "hackthearch201_default" with the default driver Creating volume "hackthearch201_hta" with default driver Creating volume "hackthearch201_redis" with default driver Creating volume "hackthearch201_postgres" with default driver Pulling rd (redis:3.2)... ERROR: Get https://registry-1.docker.io/v2/: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
If I directly access https://registry-1.docker.io/v2/ it says I need to be authenticated, why?
{"errors":[{"code":"UNAUTHORIZED","message":"authentication required","detail":null}]}
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/mcpa-stlouis/hack-the-arch/issues/21, or mute the thread https://github.com/notifications/unsubscribe-auth/AIb5B5xWU8oiud0iMAGVKSP6LWG10WQBks5r0F5kgaJpZM4NJ9Q1 .
@paullj1
$ docker --version
Docker version 17.04.0-ce, build 4845c567eb
$ docker-compose --version
docker-compose version 1.11.2, build dfed245b
Update: I installed both today (27-04-2017) on ArchLinux.
Thanks. I'll try to look into it this evening.
On Thu, Apr 27, 2017 at 6:59 AM Alexandre ZANNI notifications@github.com wrote:
@paullj1 https://github.com/paullj1
$ docker --version Docker version 17.04.0-ce, build 4845c567eb $ docker-compose --version docker-compose version 1.11.2, build dfed245b
— You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/mcpa-stlouis/hack-the-arch/issues/21#issuecomment-297693341, or mute the thread https://github.com/notifications/unsubscribe-auth/AIb5B8RQ8YXEniMd3gHWLd3UEu7hVHqzks5r0IMJgaJpZM4NJ9Q1 .
Try upgrading docker-compose to 1.12 in the meantime.
On Thu, Apr 27, 2017 at 7:02 AM Paul Jordan paullj1@gmail.com wrote:
Thanks. I'll try to look into it this evening.
On Thu, Apr 27, 2017 at 6:59 AM Alexandre ZANNI notifications@github.com wrote:
@paullj1 https://github.com/paullj1
$ docker --version Docker version 17.04.0-ce, build 4845c567eb $ docker-compose --version docker-compose version 1.11.2, build dfed245b
— You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/mcpa-stlouis/hack-the-arch/issues/21#issuecomment-297693341, or mute the thread https://github.com/notifications/unsubscribe-auth/AIb5B8RQ8YXEniMd3gHWLd3UEu7hVHqzks5r0IMJgaJpZM4NJ9Q1 .
So, I couldn't reproduce. Are you using a fresh docker install?
@paullj1 : Yes I installed it in order to install HTA
This may be a stupid question, but does the machine have access to the internet? The reason I ask is because it doesn't look like you can pull the images. If you don't, you can always pull the images necessary somewhere else, then export them to a tarball: docker save IMAGE > image.tar
, then import with: docker load image.tar
.
@paullj1 Oh wait. This machine has access to Internet but through a proxy and I remember docker need a special configuration for proxy (in order for example to be able to do pull).
Seems there is an error or a step is missing in DOCKER_README.md ?
If I directly access https://registry-1.docker.io/v2/ it says I need to be authenticated, why?