Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
issmirnov opened this issue Jan 21, 2021 · 2 comments

Comments

@issmirnov
Copy link

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
Copy link

hypolas commented May 25, 2023

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

Maybe that can help you.

@xelatirdan
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants