mirror of
https://github.com/goharbor/harbor.git
synced 2024-12-20 23:57:42 +01:00
1.0 KiB
1.0 KiB
Configure Global Settings
You can configure Harbor to connect to an email server, and set the registry in read-only mode.
Configure an Email Server
You can change Harbor's email settings, the mail server is used to send out responses to users who request to reset their password.
Make the Registry Read Only
You can change Harbor's registry read only settings, read only mode will allow 'docker pull' while preventing 'docker push' and the deletion of repository and tag.
If it set to true, deleting repository, tag and pushing image will be disabled.
$ docker push 10.117.169.182/demo/ubuntu:14.04
The push refers to a repository [10.117.169.182/demo/ubuntu]
0271b8eebde3: Preparing
denied: The system is in read only mode. Any modification is prohibited.