From a9840a3e33ba997500ff9ae1fa36336165f5b206 Mon Sep 17 00:00:00 2001 From: Kyle Squizzato Date: Wed, 1 Aug 2018 16:17:26 -0400 Subject: [PATCH 1/7] [manage-images] Clarify character limitations on image names Signed-off-by: Kyle Squizzato --- ee/dtr/user/manage-images/index.md | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/ee/dtr/user/manage-images/index.md b/ee/dtr/user/manage-images/index.md index dee4775fcb..72b03993ee 100644 --- a/ee/dtr/user/manage-images/index.md +++ b/ee/dtr/user/manage-images/index.md @@ -34,9 +34,19 @@ When creating a repository in DTR, the full name of the repository becomes `//`. In this example, the full name of our repository will be `dtr.example.org/dave.lauper/golang`. -DTR only allows image names with 255 characters. This includes the domain, -organization, and repository name. When you create a repository, make sure -its full name has less than 255 characters. +When creating an image name for use with DTR ensure that the organization and +repository name has less than 56 characters and that the entire image name +which includes domain, organization and repository name does not exceed 255 +characters. + +*The 56 character `` limit in DTR is due to an +underlying limitation in how the image name information is stored within +DTR metadata in RethinkDB. RethinkDB currently has a Primary Key length limit +of 127 characters. + +When DTR stores the above data it appends a sha256sum comprised of 72 characters +to the end of the value to ensure uniqueness within the database. If the `` exceeds 56 characters it will then exceed the +127 character limit in RethinkDB (72+56=128).* ## Where to go next From f339a153d765936408c66680c327080bfd4b27ca Mon Sep 17 00:00:00 2001 From: Anne Henmi <41210220+ahh-docker@users.noreply.github.com> Date: Mon, 6 Aug 2018 09:43:59 -0600 Subject: [PATCH 2/7] Formatted changes as Important admonition --- ee/dtr/user/manage-images/index.md | 23 +++++++++-------------- 1 file changed, 9 insertions(+), 14 deletions(-) diff --git a/ee/dtr/user/manage-images/index.md b/ee/dtr/user/manage-images/index.md index 72b03993ee..824c022cff 100644 --- a/ee/dtr/user/manage-images/index.md +++ b/ee/dtr/user/manage-images/index.md @@ -34,20 +34,15 @@ When creating a repository in DTR, the full name of the repository becomes `//`. In this example, the full name of our repository will be `dtr.example.org/dave.lauper/golang`. -When creating an image name for use with DTR ensure that the organization and -repository name has less than 56 characters and that the entire image name -which includes domain, organization and repository name does not exceed 255 -characters. - -*The 56 character `` limit in DTR is due to an -underlying limitation in how the image name information is stored within -DTR metadata in RethinkDB. RethinkDB currently has a Primary Key length limit -of 127 characters. - -When DTR stores the above data it appends a sha256sum comprised of 72 characters -to the end of the value to ensure uniqueness within the database. If the `` exceeds 56 characters it will then exceed the -127 character limit in RethinkDB (72+56=128).* - +> Image name size for DTR +> +> When creating an image name for use with DTR ensure that the organization and repository name has less than 56 characters and that the entire image name which includes domain, organization and repository name does not exceed 255 characters. +> +> *The 56 character `` limit in DTR is due to an underlying limitation in how the image name information is stored within DTR metadata in RethinkDB. RethinkDB currently has a Primary Key length limit of 127 characters. +> +> When DTR stores the above data it appends a sha256sum comprised of 72 characters to the end of the value to ensure uniqueness within the database. If the `` exceeds 56 characters it will then exceed the 127 character limit in RethinkDB (72+56=128).* +> +{: Important } ## Where to go next - [Pull and push images](pull-and-push-images.md) From f3499bab5830b955e1e17127d3f51cef9e2d9525 Mon Sep 17 00:00:00 2001 From: Tammy Fox Date: Mon, 6 Aug 2018 16:02:33 -0400 Subject: [PATCH 3/7] fix formatting of important tag --- ee/dtr/user/manage-images/index.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/ee/dtr/user/manage-images/index.md b/ee/dtr/user/manage-images/index.md index 824c022cff..f2cd285082 100644 --- a/ee/dtr/user/manage-images/index.md +++ b/ee/dtr/user/manage-images/index.md @@ -40,9 +40,8 @@ name of our repository will be `dtr.example.org/dave.lauper/golang`. > > *The 56 character `` limit in DTR is due to an underlying limitation in how the image name information is stored within DTR metadata in RethinkDB. RethinkDB currently has a Primary Key length limit of 127 characters. > -> When DTR stores the above data it appends a sha256sum comprised of 72 characters to the end of the value to ensure uniqueness within the database. If the `` exceeds 56 characters it will then exceed the 127 character limit in RethinkDB (72+56=128).* -> -{: Important } +> When DTR stores the above data it appends a sha256sum comprised of 72 characters to the end of the value to ensure uniqueness within the database. If the `` exceeds 56 characters it will then exceed the 127 character limit in RethinkDB (72+56=128). +{: important} ## Where to go next - [Pull and push images](pull-and-push-images.md) From f755ba727d3e877b55e88152cb3444e1c3de2e7f Mon Sep 17 00:00:00 2001 From: Tammy Fox Date: Mon, 6 Aug 2018 16:12:05 -0400 Subject: [PATCH 4/7] try important admonition formatting again --- ee/dtr/user/manage-images/index.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ee/dtr/user/manage-images/index.md b/ee/dtr/user/manage-images/index.md index f2cd285082..68db68c351 100644 --- a/ee/dtr/user/manage-images/index.md +++ b/ee/dtr/user/manage-images/index.md @@ -38,10 +38,11 @@ name of our repository will be `dtr.example.org/dave.lauper/golang`. > > When creating an image name for use with DTR ensure that the organization and repository name has less than 56 characters and that the entire image name which includes domain, organization and repository name does not exceed 255 characters. > -> *The 56 character `` limit in DTR is due to an underlying limitation in how the image name information is stored within DTR metadata in RethinkDB. RethinkDB currently has a Primary Key length limit of 127 characters. +> The 56 character `` limit in DTR is due to an underlying limitation in how the image name information is stored within DTR metadata in RethinkDB. RethinkDB currently has a Primary Key length limit of 127 characters. > > When DTR stores the above data it appends a sha256sum comprised of 72 characters to the end of the value to ensure uniqueness within the database. If the `` exceeds 56 characters it will then exceed the 127 character limit in RethinkDB (72+56=128). {: important} + ## Where to go next - [Pull and push images](pull-and-push-images.md) From ac65994c658d6f1b09c66ab9f7491b40aa94afb2 Mon Sep 17 00:00:00 2001 From: Tammy Fox Date: Mon, 6 Aug 2018 16:22:18 -0400 Subject: [PATCH 5/7] missing period in liquid tag --- ee/dtr/user/manage-images/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ee/dtr/user/manage-images/index.md b/ee/dtr/user/manage-images/index.md index 68db68c351..36267e4cd0 100644 --- a/ee/dtr/user/manage-images/index.md +++ b/ee/dtr/user/manage-images/index.md @@ -41,7 +41,7 @@ name of our repository will be `dtr.example.org/dave.lauper/golang`. > The 56 character `` limit in DTR is due to an underlying limitation in how the image name information is stored within DTR metadata in RethinkDB. RethinkDB currently has a Primary Key length limit of 127 characters. > > When DTR stores the above data it appends a sha256sum comprised of 72 characters to the end of the value to ensure uniqueness within the database. If the `` exceeds 56 characters it will then exceed the 127 character limit in RethinkDB (72+56=128). -{: important} +{: .important} ## Where to go next From c6a1189094d8a420595b0a08fbfe2f22198489b4 Mon Sep 17 00:00:00 2001 From: Anne Henmi <41210220+ahh-docker@users.noreply.github.com> Date: Mon, 6 Aug 2018 15:05:51 -0600 Subject: [PATCH 6/7] Fixed formatting. Should be GTG. --- ee/dtr/user/manage-images/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ee/dtr/user/manage-images/index.md b/ee/dtr/user/manage-images/index.md index 36267e4cd0..f425c6cbae 100644 --- a/ee/dtr/user/manage-images/index.md +++ b/ee/dtr/user/manage-images/index.md @@ -41,7 +41,7 @@ name of our repository will be `dtr.example.org/dave.lauper/golang`. > The 56 character `` limit in DTR is due to an underlying limitation in how the image name information is stored within DTR metadata in RethinkDB. RethinkDB currently has a Primary Key length limit of 127 characters. > > When DTR stores the above data it appends a sha256sum comprised of 72 characters to the end of the value to ensure uniqueness within the database. If the `` exceeds 56 characters it will then exceed the 127 character limit in RethinkDB (72+56=128). -{: .important} +> {: .important} ## Where to go next From fbbe0ccddd941679d247deeba3166b7770b0499c Mon Sep 17 00:00:00 2001 From: Tammy Fox Date: Mon, 6 Aug 2018 22:45:21 -0400 Subject: [PATCH 7/7] fix formatting --- ee/dtr/user/manage-images/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ee/dtr/user/manage-images/index.md b/ee/dtr/user/manage-images/index.md index f425c6cbae..36267e4cd0 100644 --- a/ee/dtr/user/manage-images/index.md +++ b/ee/dtr/user/manage-images/index.md @@ -41,7 +41,7 @@ name of our repository will be `dtr.example.org/dave.lauper/golang`. > The 56 character `` limit in DTR is due to an underlying limitation in how the image name information is stored within DTR metadata in RethinkDB. RethinkDB currently has a Primary Key length limit of 127 characters. > > When DTR stores the above data it appends a sha256sum comprised of 72 characters to the end of the value to ensure uniqueness within the database. If the `` exceeds 56 characters it will then exceed the 127 character limit in RethinkDB (72+56=128). -> {: .important} +{: .important} ## Where to go next