InformationThe latest Docker registry is v2. All operations on the legacy registry version (v1) should be restricted.
Docker registry v2 brings in many performance and security improvements over v1. It supports container image provenance and other security features such as image signing and verification. Hence, operations on Docker legacy registry should be restricted.
SolutionStart the docker daemon as below:
Legacy registry operations would be restricted.
By default, legacy registry operations are allowed.