Hello
I read somewhere that Docker can be configured to avoid / omit any attempts to use a V1 Registry.
How do I configure Docker to leave out all those requests to /v1/whatever ?
Vince
Share and learn in the Docker community.
Hello
I read somewhere that Docker can be configured to avoid / omit any attempts to use a V1 Registry.
How do I configure Docker to leave out all those requests to /v1/whatever ?
Vince
I understand from stackoverflow that the required parameter is:
–disable-legacy-registry
As yet I’ve been unable to start Docker 1.8.2 with this parameter set.
In the file:
/etc/systemd/system/docker.service.d/execStart.conf
I put the following:
[Service]
ExecStart=
ExecStart=/usr/bin/docker daemon --disable-legacy-registry -H fd://
The addition of --disable-legacy-registry stops Docker from starting
Try 1.8.3 Docker , it will allow only V2 Type images only, so you can easily ignore V1 without further config.