Update registry 2.4.1 to 2.7.1
As Registry 2.4.1 was released more than 4 years ago (on 2016-05-18) https://github.com/docker/distribution/releases/tag/v2.4.1, use 2.7.1, the latest version as of 2020-10-06.
That includes Go upgrading from 1.7.x to 1.13.x.