deviantony / docker-elk

The Elastic stack (ELK) powered by Docker and Compose.
MIT License
17.06k stars 6.74k forks source link

Can not reach https://docker.elastic.co #1004

Closed TonyBostonTB closed 1 month ago

TonyBostonTB commented 2 months ago

Problem description

I cloned the repo, issued 'docker compose up setup' but can't reach the mentioned URL and therefore not pull the image.

Error with compose:

[+] Building 30.0s (2/2) FINISHED                                                                                                                                                                  docker:default
 => [elasticsearch internal] load build definition from Dockerfile                                                                                                                                           0.0s
 => => transferring dockerfile: 324B                                                                                                                                                                         0.0s
 => ERROR [elasticsearch internal] load metadata for docker.elastic.co/elasticsearch/elasticsearch:8.14.2                                                                                                   30.0s
------
 > [elasticsearch internal] load metadata for docker.elastic.co/elasticsearch/elasticsearch:8.14.2:
------
failed to solve: docker.elastic.co/elasticsearch/elasticsearch:8.14.2: failed to resolve source metadata for docker.elastic.co/elasticsearch/elasticsearch:8.14.2: failed to do request: Head "https://docker.elastic.co/v2/elasticsearch/elasticsearch/manifests/8.14.2": dial tcp 34.68.230.202:443: i/o timeout

Extra information

I do have multiple other containers running and never had an issue reaching something on the net.

Docker setup

Client: Docker Engine - Community
 Version:           27.0.3
 API version:       1.46
 Go version:        go1.21.11
 Git commit:        7d4bcd8
 Built:             Sat Jun 29 00:03:52 2024
 OS/Arch:           linux/arm64
 Context:           default

Server: Docker Engine - Community
 Engine:
  Version:          27.0.3
  API version:      1.46 (minimum version 1.24)
  Go version:       go1.21.11
  Git commit:       662f78c
  Built:            Sat Jun 29 00:02:37 2024
  OS/Arch:          linux/arm64
  Experimental:     false
 containerd:
  Version:          1.7.18
  GitCommit:        ae71819c4f5e67bb4d5ae76a6b735f29cc25774e
 runc:
  Version:          1.7.18
  GitCommit:        v1.1.13-0-g58aa920
 docker-init:
  Version:          0.19.0
  GitCommit:        de40ad0

Docker Compose version v2.28.1

antoineco commented 2 months ago

Does docker image pull docker.elastic.co/elasticsearch/elasticsearch:8.14.2 work?

If yes, this was simply a transient error on Elastic's side.

antoineco commented 1 month ago

Elastic's Docker registry is up so I'm going to conclude that this was simply a transient error.

If not, either a firewall/proxy or the ISP is blocking that IP range, both cases being IT issues which are unrelated to docker-elk (we are not affiliated with Elastic).