Harbor介绍及我们的改造

说明:我们是基于Harbor V0.4.1进行分析和改造的。

为什么不是直接使用Registry V2,而选用Harbor?

可以用Harbor做以下事情:

  • Manage your projects.
  • Manage members of a project.
  • Replicate projects to a remote registry.
  • Search projects and repositories.
  • Manage Harbor system if you are the system administrator:
  • Manage users.
  • Manage destinations.
  • Manage replication policies.
  • Pull and push images using Docker client.
  • Delete repositories.

Harbor提供RBAC (Role Based Access Control)能力

  • Guest: Guest has read-only privilege for a specified project.
  • Developer: Developer has read and write privileges for a project.
  • ProjectAdmin: When creating a new project, you will be assigned the “ProjectAdmin” role to the project. Besides read-write privileges, the “ProjectAdmin” also has some management privileges, such as adding and removing members.
  • SysAdmin: “SysAdmin” has the most privileges. In addition to the privileges mentioned above, “SysAdmin” can also list all projects, set an ordinary user as administrator and delete users. The public project “library” is also owned by the administrator.
  • Anonymous: When a user is not logged in, the user is considered as an “anonymous” user. An anonymous user has no access to private projects and has read-only access to public projects.

在我们的生产环境中,不会启动Anonymous用户。

Harbor支持2种Project Types

  • Public: All users have the read privilege to a

你可能感兴趣的:(docker,registry/harbor,Harbor,Registry,docker)