Redirect docker pull

Viewed 825

Does exist the opportunity to redirect pull (or push), when docker tries to get/send image from dockerHub,without changing docker pull arguments? For example:

docker pull gcr.io/distroless/static@sha256:23aa732bba4c8618c0d97c26a72a32997363d591807b0d4c31b0bbc8a774bddf

redirect from gcr.io/distroless/static to my.repo.com/gcr.io/distroless/static, without changing docker pull arguments.

I want to use redirection for example without changing Dockerfile

0 Answers
Related