The following pull request was submitted through Github. It can be accessed and reviewed at: https://github.com/lxc/lxd/pull/4735
This e-mail was sent by the LXC bot, direct replies will not reach the author unless they happen to be subscribed to this list. === Description (from pull-request) === Closes #4734 Signed-off-by: Stéphane Graber <[email protected]>
From 16a174bab0743287a283f920d49aadecdd4389cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Graber?= <[email protected]> Date: Wed, 4 Jul 2018 13:42:07 -0400 Subject: [PATCH] doc: Document hostname requirements MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes #4734 Signed-off-by: Stéphane Graber <[email protected]> --- doc/containers.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/doc/containers.md b/doc/containers.md index 7517c8d0a..b1866d913 100644 --- a/doc/containers.md +++ b/doc/containers.md @@ -7,6 +7,17 @@ The following are direct container properties and can't be part of a profile: Name is the container name and can only be changed by renaming the container. +Valid container names must: + + - Be between 1 and 63 characters long + - Be made up exclusively of letters, numbers and dashes from the ASCII table + - Not start with a digit or a dash + - Not end with a dash + +This requirement is so that the container name may properly be used in +DNS records, on the filesystem, in various security profiles as well as +the hostname of the container itself. + ## Key/value configuration The key/value configuration is namespaced with the following namespaces currently supported:
_______________________________________________ lxc-devel mailing list [email protected] http://lists.linuxcontainers.org/listinfo/lxc-devel
