mirror of
https://github.com/goharbor/harbor.git
synced 2024-12-19 23:28:20 +01:00
696 B
696 B
Make the Registry Read Only
You can set Harbor to read-only mode. In read-only mode, Harbor allows docker pull
but prevents docker push
and the deletion of repositories and tags.
If it set to true, deleting repositories, tags and pushing images are not permitted.
$ 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.