registrator
registrator copied to clipboard
Image docker.io/gliderlabs/registrator:latest uses outdated schema1 manifest format
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/
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.
I switch my servers to work with https://hub.docker.com/r/hypolas/registrator image. Thank you!