Files
docs/doc/source/usertasks/kubernetes/kubernetes-user-tutorials-authentication-and-authorization.rst
Keane Lim 21b11b47d6 OpenStack VNF Integration User Tasks
Completed review comments
Minor abbreviation fix
Moved topics into its own VNF Integration section
Fixed abbreviations
Re-organized Kubernetes topics

Change-Id: I8940d3572b789990d3b5f2d201f8ec8a46ce2943
Signed-off-by: Keane Lim <keane.lim@windriver.com>
2021-03-23 11:10:42 -04:00

1.5 KiB

Local Docker Registry Authentication and Authorization

Authentication is enabled for the local docker registry. When logging in, users are authenticated using their platform keystone credentials.

For example:

$ docker login registry.local:9001 -u <keystoneUserName> -p <keystonePassword>

An authorized administrator can perform any docker action, while regular users can only interact with their own repositories (i.e. registry.local:9001/<keystoneUserName>/). For example, only admin and testuser accounts can push to or pull from:

registry.local:9001/testuser/busybox:latest

Username and Docker Compatibility

Repository names in Docker registry paths must be lower case. For this reason, a keystone user must exist that consists of all lower case characters. For example, the user testuser is correct in the following URL, while testUser would result in an error:

registry.local:9001/testuser/busybox:latest

https://docs.docker.com/engine/reference/commandline/docker/ for more information about docker commands.