From 8488da0cd4497920400c9e0692d071e9bca53a96 Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Tue, 1 Aug 2023 20:30:35 +0200 Subject: [PATCH] add "go" redirect for deprecated image formats We currently print the full URL in warnings, and we may want to create a better page for this at some point; docker pull docker:1.0.1 1.0.1: Pulling from library/docker Image docker.io/library/docker:1.0.1 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/ Adding a new "/go/" redirect, so that we can point it to the relevant content as we go. I tried to keep the URl somewhat short, so didn't include "deprecated", but naming is hard, so input welcome. Signed-off-by: Sebastiaan van Stijn --- _redirects.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/_redirects.yml b/_redirects.yml index c3f760c552..5d269f1912 100644 --- a/_redirects.yml +++ b/_redirects.yml @@ -96,6 +96,16 @@ # used in warnings printed by the Docker Engine, and in the installation script # at "get.docker.com" - /go/attack-surface/ +"/registry/spec/deprecated-schema-v1/": + # Details about deprecated image manifest formats. This redirect is currently + # used in warnings printed by the Docker Engine when pulling deprecated image + # formats: + # + # - Docker Image Specification v1.0.0 (https://github.com/moby/moby/blob/v24.0.0/image/spec/v1.md) + # - Docker Image manifest version 2, schema 1 (https://github.com/distribution/distribution/blob/ff2bce27319a0a0bca924820c353fae3b9046e91/docs/spec/manifest-v2-1.md) + # + # TODO(thaJeztah) We need a better page describing the image formats (and deprecated ones) + - /go/deprecated-image-specs/ "/build/buildkit/#getting-started": - /go/buildkit/ "/build/architecture/#install-buildx":