gliderlabs / registrator

Service registry bridge for Docker with pluggable adapters
http://gliderlabs.com/registrator
MIT License
4.66k stars 912 forks source link

Image docker.io/gliderlabs/registrator:latest uses outdated schema1 manifest format #694

Open issmirnov opened 3 years ago

issmirnov commented 3 years ago

Description of the problem:

Docker returns a warning about an outdated schema for gliderlabs/registrator:latest

Pulling registrator (gliderlabs/registrator:latest)...
latest: Pulling from gliderlabs/registrator
Image docker.io/gliderlabs/registrator:latest uses outdated schema1 manifest format. Please upgrade to a schema2 image for better future compatibility. More information at https://docs.docker.com/registry/spec/deprecated-schema-v1/
c87f684ee1c2: Pull complete
a0559c0b3676: Pull complete
a28552c49839: Pull complete
Digest: sha256:6e708681dd52e28f4f39d048ac75376c9a762c44b3d75b2824173f8364e52c10
Status: Downloaded newer image for gliderlabs/registrator:latest
Creating registrator ... done

How reproducible: 100%

Steps to Reproduce: Run command from README:

docker run -d \
    --name=registrator \
    --net=host \
    --volume=/var/run/docker.sock:/tmp/docker.sock \
    gliderlabs/registrator:latest \
      consul://localhost:8500

Actual Results: Container uses schema v1

Expected Results: Container should upgrade to schema v2

Additional info:

https://docs.docker.com/registry/spec/deprecated-schema-v1/

hypolas commented 1 year ago

Maybe that can help you. Using official Docker SDK.

Biggest changes

Source

https://gitlab.com/dkr-registrator/registrator

Docker

Maybe that can help you.

xelatirdan commented 7 months ago

I switch my servers to work with https://hub.docker.com/r/hypolas/registrator image. Thank you!