registrator icon indicating copy to clipboard operation
registrator copied to clipboard

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

Open issmirnov opened this issue 4 years ago • 2 comments

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/

issmirnov avatar Jan 21 '21 04:01 issmirnov

Maybe that can help you. Using official Docker SDK.

Biggest changes

  • Removed module "github.com/fsouza/go-dockerclient" and using Official Docker SDK "github.com/docker/docker" !
  • Selected network by name or subnetwork !
  • Update Alpine to recent build !
  • Remove all locked dependecies (must be compatible with more recent tools. Not tested for all). Using go.mod.
  • Split packages to real Go modules.

Source

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

Docker

  • Docker page => https://hub.docker.com/r/hypolas/registrator
  • Docker pull => hypolas/registrator
  • Pull command => docker pull hypolas/registrator

Maybe that can help you.

hypolas avatar May 25 '23 14:05 hypolas

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

xelatirdan avatar Apr 12 '24 05:04 xelatirdan