{"id":233,"date":"2017-06-12T14:25:19","date_gmt":"2017-06-12T06:25:19","guid":{"rendered":"https:\/\/blog.jsjs.org\/?p=233"},"modified":"2017-06-12T14:25:19","modified_gmt":"2017-06-12T06:25:19","slug":"harbor-user-guide","status":"publish","type":"post","link":"https:\/\/blog.jsjs.org\/?p=233","title":{"rendered":"Harbor User Guide"},"content":{"rendered":"<h1 style=\"box-sizing: border-box; line-height: 1.25; padding-bottom: 0.3em; border-bottom: 1px solid #eaecef; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; margin: 0px !important 0px 16px 0px;\">User Guide<\/h1>\n<p>https:\/\/github.com\/vmware\/harbor\/blob\/master\/docs\/user_guide.md<\/p>\n<h2 style=\"box-sizing: border-box; margin-top: 24px; margin-bottom: 16px; line-height: 1.25; padding-bottom: 0.3em; border-bottom: 1px solid #eaecef; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';\"><a id=\"user-content-overview\" class=\"anchor\" style=\"box-sizing: border-box; background-color: transparent; color: #0366d6; text-decoration: none; float: left; padding-right: 4px; margin-left: -20px; line-height: 1;\" href=\"https:\/\/github.com\/vmware\/harbor\/blob\/master\/docs\/user_guide.md#overview\" aria-hidden=\"true\"><\/a>Overview<\/h2>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';\">This guide walks you through the fundamentals of using Harbor. You&#8217;ll learn how to use Harbor to:<\/p>\n<ul style=\"box-sizing: border-box; padding-left: 2em; margin-top: 0px; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';\">\n<li style=\"box-sizing: border-box;\">Manage your projects.<\/li>\n<li style=\"box-sizing: border-box; margin-top: 0.25em;\">Manage members of a project.<\/li>\n<li style=\"box-sizing: border-box; margin-top: 0.25em;\">Replicate projects to a remote registry.<\/li>\n<li style=\"box-sizing: border-box; margin-top: 0.25em;\">Search projects and repositories.<\/li>\n<li style=\"box-sizing: border-box; margin-top: 0.25em;\">Manage Harbor system if you are the system administrator:\n<ul style=\"box-sizing: border-box; padding-left: 2em; margin-top: 0px; margin-bottom: 0px;\">\n<li style=\"box-sizing: border-box;\">Manage users.<\/li>\n<li style=\"box-sizing: border-box; margin-top: 0.25em;\">Manage destinations.<\/li>\n<li style=\"box-sizing: border-box; margin-top: 0.25em;\">Manage replication policies.<\/li>\n<li style=\"box-sizing: border-box; margin-top: 0.25em;\">Manage configuration.<\/li>\n<\/ul>\n<\/li>\n<li style=\"box-sizing: border-box; margin-top: 0.25em;\">Pull and push images using Docker client.<\/li>\n<li style=\"box-sizing: border-box; margin-top: 0.25em;\">Delete repositories and images.<\/li>\n<li style=\"box-sizing: border-box; margin-top: 0.25em;\">Content trust.<\/li>\n<\/ul>\n<h2 style=\"box-sizing: border-box; margin-top: 24px; margin-bottom: 16px; line-height: 1.25; padding-bottom: 0.3em; border-bottom: 1px solid #eaecef; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';\"><a id=\"user-content-role-based-access-controlrbac\" class=\"anchor\" style=\"box-sizing: border-box; background-color: transparent; color: #0366d6; text-decoration: none; float: left; padding-right: 4px; margin-left: -20px; line-height: 1;\" href=\"https:\/\/github.com\/vmware\/harbor\/blob\/master\/docs\/user_guide.md#role-based-access-controlrbac\" aria-hidden=\"true\"><\/a>Role Based Access Control(RBAC)<\/h2>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';\"><a style=\"box-sizing: border-box; background-color: transparent; color: #0366d6; text-decoration: none;\" href=\"https:\/\/github.com\/vmware\/harbor\/blob\/master\/docs\/img\/rbac.png\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" style=\"box-sizing: content-box; border-style: none;\" src=\"https:\/\/github.com\/vmware\/harbor\/raw\/master\/docs\/img\/rbac.png\" alt=\"rbac\" \/><\/a><\/p>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';\">Harbor manages images through projects. Users can be added into one project as a member with three different roles:<\/p>\n<ul style=\"box-sizing: border-box; padding-left: 2em; margin-top: 0px; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';\">\n<li style=\"box-sizing: border-box;\"><span style=\"box-sizing: border-box; font-weight: 600;\">Guest<\/span>: Guest has read-only privilege for a specified project.<\/li>\n<li style=\"box-sizing: border-box; margin-top: 0.25em;\"><span style=\"box-sizing: border-box; font-weight: 600;\">Developer<\/span>: Developer has read and write privileges for a project.<\/li>\n<li style=\"box-sizing: border-box; margin-top: 0.25em;\"><span style=\"box-sizing: border-box; font-weight: 600;\">ProjectAdmin<\/span>: When creating a new project, you will be assigned the &#8220;ProjectAdmin&#8221; role to the project. Besides read-write privileges, the &#8220;ProjectAdmin&#8221; also has some management privileges, such as adding and removing members.<\/li>\n<\/ul>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';\">Besides the above three roles, there are two system-wide roles:<\/p>\n<ul style=\"box-sizing: border-box; padding-left: 2em; margin-top: 0px; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';\">\n<li style=\"box-sizing: border-box;\"><span style=\"box-sizing: border-box; font-weight: 600;\">SysAdmin<\/span>: &#8220;SysAdmin&#8221; has the most privileges. In addition to the privileges mentioned above, &#8220;SysAdmin&#8221; can also list all projects, set an ordinary user as administrator and delete users. The public project &#8220;library&#8221; is also owned by the administrator.<\/li>\n<li style=\"box-sizing: border-box; margin-top: 0.25em;\"><span style=\"box-sizing: border-box; font-weight: 600;\">Anonymous<\/span>: When a user is not logged in, the user is considered as an &#8220;Anonymous&#8221; user. An anonymous user has no access to private projects and has read-only access to public projects.<\/li>\n<\/ul>\n<h2 style=\"box-sizing: border-box; margin-top: 24px; margin-bottom: 16px; line-height: 1.25; padding-bottom: 0.3em; border-bottom: 1px solid #eaecef; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';\"><a id=\"user-content-user-account\" class=\"anchor\" style=\"box-sizing: border-box; background-color: transparent; color: #0366d6; text-decoration: none; float: left; padding-right: 4px; margin-left: -20px; line-height: 1;\" href=\"https:\/\/github.com\/vmware\/harbor\/blob\/master\/docs\/user_guide.md#user-account\" aria-hidden=\"true\"><\/a>User account<\/h2>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';\">Harbor supports two authentication modes:<\/p>\n<ul style=\"box-sizing: border-box; padding-left: 2em; margin-top: 0px; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';\">\n<li style=\"box-sizing: border-box;\">\n<p style=\"box-sizing: border-box; margin-top: 16px; margin-bottom: 16px;\"><span style=\"box-sizing: border-box; font-weight: 600;\">Database(db_auth)<\/span><\/p>\n<p style=\"box-sizing: border-box; margin-top: 16px; margin-bottom: 16px;\">Users are stored in the local database.<\/p>\n<p style=\"box-sizing: border-box; margin-top: 16px; margin-bottom: 16px;\">A user can register himself\/herself in Harbor in this mode. To disable user self-registration, refer to the\u00a0<a style=\"box-sizing: border-box; background-color: transparent; color: #0366d6; text-decoration: none;\" href=\"https:\/\/github.com\/vmware\/harbor\/blob\/master\/docs\/installation_guide.md\">installation guide<\/a>\u00a0for initial configuration, or disable this feature in\u00a0<a style=\"box-sizing: border-box; background-color: transparent; color: #0366d6; text-decoration: none;\" href=\"https:\/\/github.com\/vmware\/harbor\/blob\/master\/docs\/user_guide.md#administrator-options\">Administrator Options<\/a>. When self-registration is disabled, the system administrator can add users into Harbor.<\/p>\n<p style=\"box-sizing: border-box; margin-top: 16px; margin-bottom: 16px;\">When registering or adding a new user, the username and email must be unique in the Harbor system. The password must contain at least 8 characters with 1 lowercase letter, 1 uppercase letter and 1 numeric character.<\/p>\n<p style=\"box-sizing: border-box; margin-top: 16px; margin-bottom: 16px;\">When you forgot your password, you can follow the below steps to reset the password:<\/p>\n<ol style=\"box-sizing: border-box; padding-left: 2em; margin-top: 0px; margin-bottom: 0px; list-style-type: lower-roman;\">\n<li style=\"box-sizing: border-box;\">Click the link &#8220;Forgot Password&#8221; in the sign in page.<\/li>\n<li style=\"box-sizing: border-box; margin-top: 0.25em;\">Input the email address entered when you signed up, an email will be sent out to you for password reset.<\/li>\n<li style=\"box-sizing: border-box; margin-top: 0.25em;\">After receiving the email, click on the link in the email which directs you to a password reset web page.<\/li>\n<li style=\"box-sizing: border-box; margin-top: 0.25em;\">Input your new password and click &#8220;Save&#8221;.<\/li>\n<\/ol>\n<\/li>\n<li style=\"box-sizing: border-box; margin-top: 0.25em;\">\n<p style=\"box-sizing: border-box; margin-top: 16px; margin-bottom: 16px;\"><span style=\"box-sizing: border-box; font-weight: 600;\">LDAP\/Active Directory (ldap_auth)<\/span><\/p>\n<p style=\"box-sizing: border-box; margin-top: 16px; margin-bottom: 16px;\">Under this authentication mode, users whose credentials are stored in an external LDAP or AD server can log in to Harbor directly.<\/p>\n<p style=\"box-sizing: border-box; margin-top: 16px; margin-bottom: 16px;\">When an LDAP\/AD user logs in by\u00a0<em style=\"box-sizing: border-box;\">username<\/em>\u00a0and\u00a0<em style=\"box-sizing: border-box;\">password<\/em>, Harbor binds to the LDAP\/AD server with the\u00a0<span style=\"box-sizing: border-box; font-weight: 600;\">&#8220;LDAP Search DN&#8221;<\/span>\u00a0and\u00a0<span style=\"box-sizing: border-box; font-weight: 600;\">&#8220;LDAP Search Password&#8221;<\/span>\u00a0described in\u00a0<a style=\"box-sizing: border-box; background-color: transparent; color: #0366d6; text-decoration: none;\" href=\"https:\/\/github.com\/vmware\/harbor\/blob\/master\/docs\/installation_guide.md\">installation guide<\/a>. If it succeeded, Harbor looks up the user under the LDAP entry\u00a0<span style=\"box-sizing: border-box; font-weight: 600;\">&#8220;LDAP Base DN&#8221;<\/span>\u00a0including substree. The attribute (such as uid, cn) specified by\u00a0<span style=\"box-sizing: border-box; font-weight: 600;\">&#8220;LDAP UID&#8221;<\/span>\u00a0is used to match a user with the\u00a0<em style=\"box-sizing: border-box;\">username<\/em>. If a match is found, the user&#8217;s\u00a0<em style=\"box-sizing: border-box;\">password<\/em>\u00a0is verified by a bind request to the LDAP\/AD server.<\/p>\n<p style=\"box-sizing: border-box; margin-top: 16px; margin-bottom: 16px;\">Self-registration, changing password and resetting password are not supported under LDAP\/AD authentication mode because the users are managed by LDAP or AD.<\/p>\n<\/li>\n<\/ul>\n<h2 style=\"box-sizing: border-box; margin-top: 24px; margin-bottom: 16px; line-height: 1.25; padding-bottom: 0.3em; border-bottom: 1px solid #eaecef; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';\"><a id=\"user-content-managing-projects\" class=\"anchor\" style=\"box-sizing: border-box; background-color: transparent; color: #0366d6; text-decoration: none; float: left; padding-right: 4px; margin-left: -20px; line-height: 1;\" href=\"https:\/\/github.com\/vmware\/harbor\/blob\/master\/docs\/user_guide.md#managing-projects\" aria-hidden=\"true\"><\/a>Managing projects<\/h2>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';\">A project in Harbor contains all repositories of an application. No images can be pushed to Harbor before the project is created. RBAC is applied to a project. There are two types of projects in Harbor:<\/p>\n<ul style=\"box-sizing: border-box; padding-left: 2em; margin-top: 0px; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';\">\n<li style=\"box-sizing: border-box;\"><span style=\"box-sizing: border-box; font-weight: 600;\">Public<\/span>: All users have the read privilege to a public project, it&#8217;s convenient for you to share some repositories with others in this way.<\/li>\n<li style=\"box-sizing: border-box; margin-top: 0.25em;\"><span style=\"box-sizing: border-box; font-weight: 600;\">Private<\/span>: A private project can only be accessed by users with proper privileges.<\/li>\n<\/ul>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';\">You can create a project after you signed in. Enabling the &#8220;Public&#8221; checkbox will make this project public.<\/p>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';\"><a style=\"box-sizing: border-box; background-color: transparent; color: #0366d6; text-decoration: none;\" href=\"https:\/\/github.com\/vmware\/harbor\/blob\/master\/docs\/img\/new_create_project.png\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" style=\"box-sizing: content-box; border-style: none;\" src=\"https:\/\/github.com\/vmware\/harbor\/raw\/master\/docs\/img\/new_create_project.png\" alt=\"create project\" \/><\/a><\/p>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';\">After the project is created, you can browse repositories, users and logs using the navigation tab.<\/p>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';\"><a style=\"box-sizing: border-box; background-color: transparent; color: #0366d6; text-decoration: none;\" href=\"https:\/\/github.com\/vmware\/harbor\/blob\/master\/docs\/img\/new_browse_project.png\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" style=\"box-sizing: content-box; border-style: none;\" src=\"https:\/\/github.com\/vmware\/harbor\/raw\/master\/docs\/img\/new_browse_project.png\" alt=\"browse project\" \/><\/a><\/p>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';\">All logs can be listed by clicking &#8220;Logs&#8221;. You can apply a filter by username, or operations and dates under &#8220;Advanced Search&#8221;.<\/p>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';\"><a style=\"box-sizing: border-box; background-color: transparent; color: #0366d6; text-decoration: none;\" href=\"https:\/\/github.com\/vmware\/harbor\/blob\/master\/docs\/img\/new_project_log.png\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" style=\"box-sizing: content-box; border-style: none;\" src=\"https:\/\/github.com\/vmware\/harbor\/raw\/master\/docs\/img\/new_project_log.png\" alt=\"browse project\" \/><\/a><\/p>\n<h2 style=\"box-sizing: border-box; margin-top: 24px; margin-bottom: 16px; line-height: 1.25; padding-bottom: 0.3em; border-bottom: 1px solid #eaecef; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';\"><a id=\"user-content-managing-members-of-a-project\" class=\"anchor\" style=\"box-sizing: border-box; background-color: transparent; color: #0366d6; text-decoration: none; float: left; padding-right: 4px; margin-left: -20px; line-height: 1;\" href=\"https:\/\/github.com\/vmware\/harbor\/blob\/master\/docs\/user_guide.md#managing-members-of-a-project\" aria-hidden=\"true\"><\/a>Managing members of a project<\/h2>\n<h3 style=\"box-sizing: border-box; margin-top: 24px; margin-bottom: 16px; font-size: 1.25em; line-height: 1.25; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';\"><a id=\"user-content-adding-members\" class=\"anchor\" style=\"box-sizing: border-box; background-color: transparent; color: #0366d6; text-decoration: none; float: left; padding-right: 4px; margin-left: -20px; line-height: 1;\" href=\"https:\/\/github.com\/vmware\/harbor\/blob\/master\/docs\/user_guide.md#adding-members\" aria-hidden=\"true\"><\/a>Adding members<\/h3>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';\">You can add members with different roles to an existing project.<\/p>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';\"><a style=\"box-sizing: border-box; background-color: transparent; color: #0366d6; text-decoration: none;\" href=\"https:\/\/github.com\/vmware\/harbor\/blob\/master\/docs\/img\/new_add_member.png\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" style=\"box-sizing: content-box; border-style: none;\" src=\"https:\/\/github.com\/vmware\/harbor\/raw\/master\/docs\/img\/new_add_member.png\" alt=\"browse project\" \/><\/a><\/p>\n<h3 style=\"box-sizing: border-box; margin-top: 24px; margin-bottom: 16px; font-size: 1.25em; line-height: 1.25; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';\"><a id=\"user-content-updating-and-removing-members\" class=\"anchor\" style=\"box-sizing: border-box; background-color: transparent; color: #0366d6; text-decoration: none; float: left; padding-right: 4px; margin-left: -20px; line-height: 1;\" href=\"https:\/\/github.com\/vmware\/harbor\/blob\/master\/docs\/user_guide.md#updating-and-removing-members\" aria-hidden=\"true\"><\/a>Updating and removing members<\/h3>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';\">You can update or remove a member by clicking the icon on the left.<\/p>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';\"><a style=\"box-sizing: border-box; background-color: transparent; color: #0366d6; text-decoration: none;\" href=\"https:\/\/github.com\/vmware\/harbor\/blob\/master\/docs\/img\/new_remove_update_member.png\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" style=\"box-sizing: content-box; border-style: none;\" src=\"https:\/\/github.com\/vmware\/harbor\/raw\/master\/docs\/img\/new_remove_update_member.png\" alt=\"browse project\" \/><\/a><\/p>\n<h2 style=\"box-sizing: border-box; margin-top: 24px; margin-bottom: 16px; line-height: 1.25; padding-bottom: 0.3em; border-bottom: 1px solid #eaecef; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';\"><a id=\"user-content-replicating-images\" class=\"anchor\" style=\"box-sizing: border-box; background-color: transparent; color: #0366d6; text-decoration: none; float: left; padding-right: 4px; margin-left: -20px; line-height: 1;\" href=\"https:\/\/github.com\/vmware\/harbor\/blob\/master\/docs\/user_guide.md#replicating-images\" aria-hidden=\"true\"><\/a>Replicating images<\/h2>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';\">Images replication is used to replicate repositories from one Harbor instance to another.<\/p>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';\">The function is project-oriented, and once the system administrator set a rule to one project, all repositories under the project will be replicated to the remote registry. Each repository will start a job to run. If the project does not exist on the remote registry, a new project will be created automatically, but if it already exists and the user configured in policy has no write privilege to it, the process will fail. When a new repository is pushed to this project or an existing repository is deleted from this project, the same operation will also be replicated to the destination. The member information will not be replicated.<\/p>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';\">There may be a bit of delay during replication according to the situation of the network. If replication job fails due to the network issue, the job will be re-scheduled a few minutes later.<\/p>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';\"><span style=\"box-sizing: border-box; font-weight: 600;\">Note:<\/span>\u00a0The replication feature is incompatible between Harbor instance before version 0.3.5(included) and after version 0.3.5.<\/p>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';\">Start replication by creating a rule. Click &#8220;Add Replication Rule&#8221; on the &#8220;Replication&#8221; tab, fill in the necessary fields, if there is no endpoint in the list, you need to create one, and then click &#8220;OK&#8221;, a rule for this project will be created. If &#8220;Enable&#8221; is chosen, the project will be replicated to the remote immediately.<\/p>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';\"><a style=\"box-sizing: border-box; background-color: transparent; color: #0366d6; text-decoration: none;\" href=\"https:\/\/github.com\/vmware\/harbor\/blob\/master\/docs\/img\/new_create_rule.png\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" style=\"box-sizing: content-box; border-style: none;\" src=\"https:\/\/github.com\/vmware\/harbor\/raw\/master\/docs\/img\/new_create_rule.png\" alt=\"browse project\" \/><\/a><\/p>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';\">You can enable, disable or delete a rule in the rule list view. Only rules which are disabled can be edited and only rules which are disabled and have no running jobs can be deleted. If a rule is disabled, the running jobs under it will be stopped.<\/p>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';\">Click a rule, jobs which belong to this rule will be listed. A job represents the progress of replicating the repository to the remote instance.<\/p>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';\"><a style=\"box-sizing: border-box; background-color: transparent; color: #0366d6; text-decoration: none;\" href=\"https:\/\/github.com\/vmware\/harbor\/blob\/master\/docs\/img\/new_rule_list.png\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" style=\"box-sizing: content-box; border-style: none;\" src=\"https:\/\/github.com\/vmware\/harbor\/raw\/master\/docs\/img\/new_rule_list.png\" alt=\"browse project\" \/><\/a><\/p>\n<h2 style=\"box-sizing: border-box; margin-top: 24px; margin-bottom: 16px; line-height: 1.25; padding-bottom: 0.3em; border-bottom: 1px solid #eaecef; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';\"><a id=\"user-content-searching-projects-and-repositories\" class=\"anchor\" style=\"box-sizing: border-box; background-color: transparent; color: #0366d6; text-decoration: none; float: left; padding-right: 4px; margin-left: -20px; line-height: 1;\" href=\"https:\/\/github.com\/vmware\/harbor\/blob\/master\/docs\/user_guide.md#searching-projects-and-repositories\" aria-hidden=\"true\"><\/a>Searching projects and repositories<\/h2>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';\">Entering a keyword in the search field at the top lists all matching projects and repositories. The search result includes both public and private repositories you have access to.<\/p>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';\"><a style=\"box-sizing: border-box; background-color: transparent; color: #0366d6; text-decoration: none;\" href=\"https:\/\/github.com\/vmware\/harbor\/blob\/master\/docs\/img\/new_search.png\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" style=\"box-sizing: content-box; border-style: none;\" src=\"https:\/\/github.com\/vmware\/harbor\/raw\/master\/docs\/img\/new_search.png\" alt=\"browse project\" \/><\/a><\/p>\n<h2 style=\"box-sizing: border-box; margin-top: 24px; margin-bottom: 16px; line-height: 1.25; padding-bottom: 0.3em; border-bottom: 1px solid #eaecef; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';\"><a id=\"user-content-administrator-options\" class=\"anchor\" style=\"box-sizing: border-box; background-color: transparent; color: #0366d6; text-decoration: none; float: left; padding-right: 4px; margin-left: -20px; line-height: 1;\" href=\"https:\/\/github.com\/vmware\/harbor\/blob\/master\/docs\/user_guide.md#administrator-options\" aria-hidden=\"true\"><\/a>Administrator options<\/h2>\n<h3 style=\"box-sizing: border-box; margin-top: 24px; margin-bottom: 16px; font-size: 1.25em; line-height: 1.25; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';\"><a id=\"user-content-managing-user\" class=\"anchor\" style=\"box-sizing: border-box; background-color: transparent; color: #0366d6; text-decoration: none; float: left; padding-right: 4px; margin-left: -20px; line-height: 1;\" href=\"https:\/\/github.com\/vmware\/harbor\/blob\/master\/docs\/user_guide.md#managing-user\" aria-hidden=\"true\"><\/a>Managing user<\/h3>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';\">Administrator can add &#8220;Administrator&#8221; role to an ordinary user by click button on the left and select &#8220;Set as Administrator&#8221;. To delete a user, select &#8220;Delete&#8221;.<\/p>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';\"><a style=\"box-sizing: border-box; background-color: transparent; color: #0366d6; text-decoration: none;\" href=\"https:\/\/github.com\/vmware\/harbor\/blob\/master\/docs\/img\/new_set_admin_remove_user.png\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" style=\"box-sizing: content-box; border-style: none;\" src=\"https:\/\/github.com\/vmware\/harbor\/raw\/master\/docs\/img\/new_set_admin_remove_user.png\" alt=\"browse project\" \/><\/a><\/p>\n<h3 style=\"box-sizing: border-box; margin-top: 24px; margin-bottom: 16px; font-size: 1.25em; line-height: 1.25; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';\"><a id=\"user-content-managing-endpoint\" class=\"anchor\" style=\"box-sizing: border-box; background-color: transparent; color: #0366d6; text-decoration: none; float: left; padding-right: 4px; margin-left: -20px; line-height: 1;\" href=\"https:\/\/github.com\/vmware\/harbor\/blob\/master\/docs\/user_guide.md#managing-endpoint\" aria-hidden=\"true\"><\/a>Managing endpoint<\/h3>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';\">You can list, add, edit and delete endpoints in the &#8220;Endpoints&#8221; tab. Only endpoints which are not referenced by any enabled rules can be edited.<\/p>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';\"><a style=\"box-sizing: border-box; background-color: transparent; color: #0366d6; text-decoration: none;\" href=\"https:\/\/github.com\/vmware\/harbor\/blob\/master\/docs\/img\/new_manage_endpoint.png\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" style=\"box-sizing: content-box; border-style: none;\" src=\"https:\/\/github.com\/vmware\/harbor\/raw\/master\/docs\/img\/new_manage_endpoint.png\" alt=\"browse project\" \/><\/a><\/p>\n<h3 style=\"box-sizing: border-box; margin-top: 24px; margin-bottom: 16px; font-size: 1.25em; line-height: 1.25; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';\"><a id=\"user-content-managing-replication\" class=\"anchor\" style=\"box-sizing: border-box; background-color: transparent; color: #0366d6; text-decoration: none; float: left; padding-right: 4px; margin-left: -20px; line-height: 1;\" href=\"https:\/\/github.com\/vmware\/harbor\/blob\/master\/docs\/user_guide.md#managing-replication\" aria-hidden=\"true\"><\/a>Managing replication<\/h3>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';\">You can list, edit, enable and disable rules in the &#8220;Replication&#8221; tab. Make sure the policy is disabled before you edit it.<\/p>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';\"><a style=\"box-sizing: border-box; background-color: transparent; color: #0366d6; text-decoration: none;\" href=\"https:\/\/github.com\/vmware\/harbor\/blob\/master\/docs\/img\/new_manage_replication.png\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" style=\"box-sizing: content-box; border-style: none;\" src=\"https:\/\/github.com\/vmware\/harbor\/raw\/master\/docs\/img\/new_manage_replication.png\" alt=\"browse project\" \/><\/a><\/p>\n<h3 style=\"box-sizing: border-box; margin-top: 24px; margin-bottom: 16px; font-size: 1.25em; line-height: 1.25; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';\"><a id=\"user-content-managing-authentication\" class=\"anchor\" style=\"box-sizing: border-box; background-color: transparent; color: #0366d6; text-decoration: none; float: left; padding-right: 4px; margin-left: -20px; line-height: 1;\" href=\"https:\/\/github.com\/vmware\/harbor\/blob\/master\/docs\/user_guide.md#managing-authentication\" aria-hidden=\"true\"><\/a>Managing authentication<\/h3>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';\">You can change authentication mode between\u00a0<span style=\"box-sizing: border-box; font-weight: 600;\">Database<\/span>(default) and\u00a0<span style=\"box-sizing: border-box; font-weight: 600;\">LDAP<\/span>\u00a0before any user is added, when there is at least one user(besides admin) in Harbor, you cannot change the authentication mode.<br style=\"box-sizing: border-box;\" \/><a style=\"box-sizing: border-box; background-color: transparent; color: #0366d6; text-decoration: none;\" href=\"https:\/\/github.com\/vmware\/harbor\/blob\/master\/docs\/img\/new_auth.png\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" style=\"box-sizing: content-box; border-style: none;\" src=\"https:\/\/github.com\/vmware\/harbor\/raw\/master\/docs\/img\/new_auth.png\" alt=\"browse project\" \/><\/a>When using LDAP mode, user&#8217;s self-registration is disabled. The parameters of LDAP server must be filled in. For more information, refer to\u00a0<a style=\"box-sizing: border-box; background-color: transparent; color: #0366d6; text-decoration: none;\" href=\"https:\/\/github.com\/vmware\/harbor\/blob\/master\/docs\/user_guide.md#user-account\">User account<\/a>.<br style=\"box-sizing: border-box;\" \/><a style=\"box-sizing: border-box; background-color: transparent; color: #0366d6; text-decoration: none;\" href=\"https:\/\/github.com\/vmware\/harbor\/blob\/master\/docs\/img\/ldap_auth.png\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" style=\"box-sizing: content-box; border-style: none;\" src=\"https:\/\/github.com\/vmware\/harbor\/raw\/master\/docs\/img\/ldap_auth.png\" alt=\"browse project\" \/><\/a><\/p>\n<h3 style=\"box-sizing: border-box; margin-top: 24px; margin-bottom: 16px; font-size: 1.25em; line-height: 1.25; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';\"><a id=\"user-content-managing-project-creation\" class=\"anchor\" style=\"box-sizing: border-box; background-color: transparent; color: #0366d6; text-decoration: none; float: left; padding-right: 4px; margin-left: -20px; line-height: 1;\" href=\"https:\/\/github.com\/vmware\/harbor\/blob\/master\/docs\/user_guide.md#managing-project-creation\" aria-hidden=\"true\"><\/a>Managing project creation<\/h3>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';\">Use the\u00a0<span style=\"box-sizing: border-box; font-weight: 600;\">Project Creation<\/span>\u00a0drop-down menu to set which users can create projects. Select\u00a0<span style=\"box-sizing: border-box; font-weight: 600;\">Everyone<\/span>\u00a0to allow all users to create projects. Select\u00a0<span style=\"box-sizing: border-box; font-weight: 600;\">Admin Only<\/span>\u00a0to allow only users with the Administrator role to create projects.<br style=\"box-sizing: border-box;\" \/><a style=\"box-sizing: border-box; background-color: transparent; color: #0366d6; text-decoration: none;\" href=\"https:\/\/github.com\/vmware\/harbor\/blob\/master\/docs\/img\/new_proj_create.png\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" style=\"box-sizing: content-box; border-style: none;\" src=\"https:\/\/github.com\/vmware\/harbor\/raw\/master\/docs\/img\/new_proj_create.png\" alt=\"browse project\" \/><\/a><\/p>\n<h3 style=\"box-sizing: border-box; margin-top: 24px; margin-bottom: 16px; font-size: 1.25em; line-height: 1.25; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';\"><a id=\"user-content-managing-self-registration\" class=\"anchor\" style=\"box-sizing: border-box; background-color: transparent; color: #0366d6; text-decoration: none; float: left; padding-right: 4px; margin-left: -20px; line-height: 1;\" href=\"https:\/\/github.com\/vmware\/harbor\/blob\/master\/docs\/user_guide.md#managing-self-registration\" aria-hidden=\"true\"><\/a>Managing self-registration<\/h3>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';\">You can manage whether a user can sign up for a new account. This option is not available if you use LDAP authentication.<br style=\"box-sizing: border-box;\" \/><a style=\"box-sizing: border-box; background-color: transparent; color: #0366d6; text-decoration: none;\" href=\"https:\/\/github.com\/vmware\/harbor\/blob\/master\/docs\/img\/new_self_reg.png\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" style=\"box-sizing: content-box; border-style: none;\" src=\"https:\/\/github.com\/vmware\/harbor\/raw\/master\/docs\/img\/new_self_reg.png\" alt=\"browse project\" \/><\/a><\/p>\n<h3 style=\"box-sizing: border-box; margin-top: 24px; margin-bottom: 16px; font-size: 1.25em; line-height: 1.25; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';\"><a id=\"user-content-managing-verification-of-remote-certificate\" class=\"anchor\" style=\"box-sizing: border-box; background-color: transparent; color: #0366d6; text-decoration: none; float: left; padding-right: 4px; margin-left: -20px; line-height: 1;\" href=\"https:\/\/github.com\/vmware\/harbor\/blob\/master\/docs\/user_guide.md#managing-verification-of-remote-certificate\" aria-hidden=\"true\"><\/a>Managing verification of remote certificate<\/h3>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';\">You can choose whether to verify remote endpoint&#8217;s certification. You may need to disable certificate verification if the remote registry uses a self-signed or an untrusted certificate.<br style=\"box-sizing: border-box;\" \/><a style=\"box-sizing: border-box; background-color: transparent; color: #0366d6; text-decoration: none;\" href=\"https:\/\/github.com\/vmware\/harbor\/blob\/master\/docs\/img\/new_remote_cert.png\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" style=\"box-sizing: content-box; border-style: none;\" src=\"https:\/\/github.com\/vmware\/harbor\/raw\/master\/docs\/img\/new_remote_cert.png\" alt=\"browse project\" \/><\/a><\/p>\n<h3 style=\"box-sizing: border-box; margin-top: 24px; margin-bottom: 16px; font-size: 1.25em; line-height: 1.25; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';\"><a id=\"user-content-managing-email-settings\" class=\"anchor\" style=\"box-sizing: border-box; background-color: transparent; color: #0366d6; text-decoration: none; float: left; padding-right: 4px; margin-left: -20px; line-height: 1;\" href=\"https:\/\/github.com\/vmware\/harbor\/blob\/master\/docs\/user_guide.md#managing-email-settings\" aria-hidden=\"true\"><\/a>Managing email settings<\/h3>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';\">You can change Harbor&#8217;s email settings, the mail server is used to send out responses to users who request to reset their password.<br style=\"box-sizing: border-box;\" \/><a style=\"box-sizing: border-box; background-color: transparent; color: #0366d6; text-decoration: none;\" href=\"https:\/\/github.com\/vmware\/harbor\/blob\/master\/docs\/img\/new_config_email.png\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" style=\"box-sizing: content-box; border-style: none;\" src=\"https:\/\/github.com\/vmware\/harbor\/raw\/master\/docs\/img\/new_config_email.png\" alt=\"browse project\" \/><\/a><\/p>\n<h2 style=\"box-sizing: border-box; margin-top: 24px; margin-bottom: 16px; line-height: 1.25; padding-bottom: 0.3em; border-bottom: 1px solid #eaecef; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';\"><a id=\"user-content-pulling-and-pushing-images-using-docker-client\" class=\"anchor\" style=\"box-sizing: border-box; background-color: transparent; color: #0366d6; text-decoration: none; float: left; padding-right: 4px; margin-left: -20px; line-height: 1;\" href=\"https:\/\/github.com\/vmware\/harbor\/blob\/master\/docs\/user_guide.md#pulling-and-pushing-images-using-docker-client\" aria-hidden=\"true\"><\/a>Pulling and pushing images using Docker client<\/h2>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';\"><span style=\"box-sizing: border-box; font-weight: 600;\">NOTE: Harbor only supports Registry V2 API. You need to use Docker client 1.6.0 or higher.<\/span><\/p>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';\">Harbor supports HTTP by default and Docker client tries to connect to Harbor using HTTPS first, so if you encounter an error as below when you pull or push images, you need to add &#8216;&#8211;insecure-registry&#8217; option to\u00a0<code style=\"box-sizing: border-box; font-family: SFMono-Regular, Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 13.6px; padding: 0.2em 0px; background-color: rgba(27, 31, 35, 0.0470588); border-radius: 3px;\">\/etc\/default\/docker<\/code>\u00a0(ubuntu) or\u00a0<code style=\"box-sizing: border-box; font-family: SFMono-Regular, Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 13.6px; padding: 0.2em 0px; background-color: rgba(27, 31, 35, 0.0470588); border-radius: 3px;\">\/etc\/sysconfig\/docker<\/code>\u00a0(centos) and restart Docker:<\/p>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';\"><code style=\"box-sizing: border-box; font-family: SFMono-Regular, Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 13.6px; padding: 0.2em 0px; background-color: rgba(27, 31, 35, 0.0470588); border-radius: 3px;\">Error response from daemon: Get https:\/\/myregistrydomain.com\/v1\/users\/: dial tcp myregistrydomain.com:443 getsockopt: connection refused.<\/code><\/p>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';\">If this private registry supports only HTTP or HTTPS with an unknown CA certificate, please add<br style=\"box-sizing: border-box;\" \/><code style=\"box-sizing: border-box; font-family: SFMono-Regular, Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 13.6px; padding: 0.2em 0px; background-color: rgba(27, 31, 35, 0.0470588); border-radius: 3px;\">--insecure-registry myregistrydomain.com<\/code>\u00a0to the daemon&#8217;s start up arguments.<\/p>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';\">In the case of HTTPS, if you have access to the registry&#8217;s CA certificate, simply place the CA certificate at \/etc\/docker\/certs.d\/myregistrydomain.com\/ca.crt .<\/p>\n<h3 style=\"box-sizing: border-box; margin-top: 24px; margin-bottom: 16px; font-size: 1.25em; line-height: 1.25; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';\"><a id=\"user-content-pulling-images\" class=\"anchor\" style=\"box-sizing: border-box; background-color: transparent; color: #0366d6; text-decoration: none; float: left; padding-right: 4px; margin-left: -20px; line-height: 1;\" href=\"https:\/\/github.com\/vmware\/harbor\/blob\/master\/docs\/user_guide.md#pulling-images\" aria-hidden=\"true\"><\/a>Pulling images<\/h3>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';\">If the project that the image belongs to is private, you should sign in first:<\/p>\n<div class=\"highlight highlight-source-shell\" style=\"box-sizing: border-box; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';\">\n<pre style=\"box-sizing: border-box; font-family: SFMono-Regular, Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 13.6px; margin-top: 0px; margin-bottom: 0px; font-stretch: normal; line-height: 1.45; word-wrap: normal; padding: 16px; overflow: auto; background-color: #f6f8fa; border-radius: 3px; word-break: normal;\">$ docker login 10.117.169.182<\/pre>\n<\/div>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';\">You can now pull the image:<\/p>\n<div class=\"highlight highlight-source-shell\" style=\"box-sizing: border-box; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';\">\n<pre style=\"box-sizing: border-box; font-family: SFMono-Regular, Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 13.6px; margin-top: 0px; margin-bottom: 0px; font-stretch: normal; line-height: 1.45; word-wrap: normal; padding: 16px; overflow: auto; background-color: #f6f8fa; border-radius: 3px; word-break: normal;\">$ docker pull 10.117.169.182\/library\/ubuntu:14.04<\/pre>\n<\/div>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';\"><span style=\"box-sizing: border-box; font-weight: 600;\">Note: Replace &#8220;10.117.169.182&#8221; with the IP address or domain name of your Harbor node. You cannot pull a unsigned image if you enabled content trust.<\/span><\/p>\n<h3 style=\"box-sizing: border-box; margin-top: 24px; margin-bottom: 16px; font-size: 1.25em; line-height: 1.25; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';\"><a id=\"user-content-pushing-images\" class=\"anchor\" style=\"box-sizing: border-box; background-color: transparent; color: #0366d6; text-decoration: none; float: left; padding-right: 4px; margin-left: -20px; line-height: 1;\" href=\"https:\/\/github.com\/vmware\/harbor\/blob\/master\/docs\/user_guide.md#pushing-images\" aria-hidden=\"true\"><\/a>Pushing images<\/h3>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';\">Before pushing an image, you must create a corresponding project on Harbor web UI.<\/p>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';\">First, log in from Docker client:<\/p>\n<div class=\"highlight highlight-source-shell\" style=\"box-sizing: border-box; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';\">\n<pre style=\"box-sizing: border-box; font-family: SFMono-Regular, Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 13.6px; margin-top: 0px; margin-bottom: 0px; font-stretch: normal; line-height: 1.45; word-wrap: normal; padding: 16px; overflow: auto; background-color: #f6f8fa; border-radius: 3px; word-break: normal;\">$ docker login 10.117.169.182<\/pre>\n<\/div>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';\">Tag the image:<\/p>\n<div class=\"highlight highlight-source-shell\" style=\"box-sizing: border-box; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';\">\n<pre style=\"box-sizing: border-box; font-family: SFMono-Regular, Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 13.6px; margin-top: 0px; margin-bottom: 0px; font-stretch: normal; line-height: 1.45; word-wrap: normal; padding: 16px; overflow: auto; background-color: #f6f8fa; border-radius: 3px; word-break: normal;\">$ docker tag ubuntu:14.04 10.117.169.182\/demo\/ubuntu:14.04<\/pre>\n<\/div>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';\">Push the image:<\/p>\n<div class=\"highlight highlight-source-shell\" style=\"box-sizing: border-box; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';\">\n<pre style=\"box-sizing: border-box; font-family: SFMono-Regular, Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 13.6px; margin-top: 0px; margin-bottom: 0px; font-stretch: normal; line-height: 1.45; word-wrap: normal; padding: 16px; overflow: auto; background-color: #f6f8fa; border-radius: 3px; word-break: normal;\">$ docker push 10.117.169.182\/demo\/ubuntu:14.04<\/pre>\n<\/div>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';\"><span style=\"box-sizing: border-box; font-weight: 600;\">Note: Replace &#8220;10.117.169.182&#8221; with the IP address or domain name of your Harbor node.<\/span><\/p>\n<h3 style=\"box-sizing: border-box; margin-top: 24px; margin-bottom: 16px; font-size: 1.25em; line-height: 1.25; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';\"><a id=\"user-content-deleting-repositories\" class=\"anchor\" style=\"box-sizing: border-box; background-color: transparent; color: #0366d6; text-decoration: none; float: left; padding-right: 4px; margin-left: -20px; line-height: 1;\" href=\"https:\/\/github.com\/vmware\/harbor\/blob\/master\/docs\/user_guide.md#deleting-repositories\" aria-hidden=\"true\"><\/a>Deleting repositories<\/h3>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';\">Repository deletion runs in two steps.<\/p>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';\">First, delete a repository in Harbor&#8217;s UI. This is soft deletion. You can delete the entire repository or just a tag of it. After the soft deletion, the repository is no longer managed in Harbor, however, the files of the repository still remain in Harbor&#8217;s storage.<\/p>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';\"><a style=\"box-sizing: border-box; background-color: transparent; color: #0366d6; text-decoration: none;\" href=\"https:\/\/github.com\/vmware\/harbor\/blob\/master\/docs\/img\/new_delete_repo.png\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" style=\"box-sizing: content-box; border-style: none;\" src=\"https:\/\/github.com\/vmware\/harbor\/raw\/master\/docs\/img\/new_delete_repo.png\" alt=\"browse project\" \/><\/a><a style=\"box-sizing: border-box; background-color: transparent; color: #0366d6; text-decoration: none;\" href=\"https:\/\/github.com\/vmware\/harbor\/blob\/master\/docs\/img\/new_delete_tag.png\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" style=\"box-sizing: content-box; border-style: none;\" src=\"https:\/\/github.com\/vmware\/harbor\/raw\/master\/docs\/img\/new_delete_tag.png\" alt=\"browse project\" \/><\/a><\/p>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';\"><span style=\"box-sizing: border-box; font-weight: 600;\">CAUTION: If both tag A and tag B refer to the same image, after deleting tag A, B will also get deleted. if you enabled content trust, you need to use notary command line tool to delete the tag&#8217;s signature before you delete an image.<\/span><\/p>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';\">Next, delete the actual files of the repository using the registry&#8217;s garbage collection(GC). Make sure that no one is pushing images or Harbor is not running at all before you perform a GC. If someone were pushing an image while GC is running, there is a risk that the image&#8217;s layers will be mistakenly deleted which results in a corrupted image. So before running GC, a preferred approach is to stop Harbor first.<\/p>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';\">Run the below commands on the host which Harbor is deployed on to preview what files\/images will be affected:<\/p>\n<div class=\"highlight highlight-source-shell\" style=\"box-sizing: border-box; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';\">\n<pre style=\"box-sizing: border-box; font-family: SFMono-Regular, Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 13.6px; margin-top: 0px; margin-bottom: 0px; font-stretch: normal; line-height: 1.45; word-wrap: normal; padding: 16px; overflow: auto; background-color: #f6f8fa; border-radius: 3px; word-break: normal;\">$ docker-compose stop\n\n$ docker run -it --name gc --rm --volumes-from registry vmware\/registry:2.6.1-photon garbage-collect --dry-run \/etc\/registry\/config.yml\n<\/pre>\n<\/div>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';\"><span style=\"box-sizing: border-box; font-weight: 600;\">NOTE:<\/span>\u00a0The above option &#8220;&#8211;dry-run&#8221; will print the progress without removing any data.<\/p>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';\">Verify the result of the above test, then use the below commands to perform garbage collection and restart Harbor.<\/p>\n<div class=\"highlight highlight-source-shell\" style=\"box-sizing: border-box; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';\">\n<pre style=\"box-sizing: border-box; font-family: SFMono-Regular, Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 13.6px; margin-top: 0px; margin-bottom: 0px; font-stretch: normal; line-height: 1.45; word-wrap: normal; padding: 16px; overflow: auto; background-color: #f6f8fa; border-radius: 3px; word-break: normal;\">$ docker run -it --name gc --rm --volumes-from registry vmware\/registry:2.6.1-photon garbage-collect  \/etc\/registry\/config.yml\n\n$ docker-compose start<\/pre>\n<\/div>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';\">For more information about GC, please see\u00a0<a style=\"box-sizing: border-box; background-color: transparent; color: #0366d6; text-decoration: none;\" href=\"https:\/\/github.com\/docker\/docker.github.io\/blob\/master\/registry\/garbage-collection.md\">GC<\/a>.<\/p>\n<h3 style=\"box-sizing: border-box; margin-top: 24px; margin-bottom: 16px; font-size: 1.25em; line-height: 1.25; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';\"><a id=\"user-content-content-trust\" class=\"anchor\" style=\"box-sizing: border-box; background-color: transparent; color: #0366d6; text-decoration: none; float: left; padding-right: 4px; margin-left: -20px; line-height: 1;\" href=\"https:\/\/github.com\/vmware\/harbor\/blob\/master\/docs\/user_guide.md#content-trust\" aria-hidden=\"true\"><\/a>Content trust<\/h3>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';\">If you want to enable content trust to ensure that images are signed, please set two environment variables in the command line before pushing or pulling any image:<\/p>\n<div class=\"highlight highlight-source-shell\" style=\"box-sizing: border-box; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';\">\n<pre style=\"box-sizing: border-box; font-family: SFMono-Regular, Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 13.6px; margin-top: 0px; margin-bottom: 0px; font-stretch: normal; line-height: 1.45; word-wrap: normal; padding: 16px; overflow: auto; background-color: #f6f8fa; border-radius: 3px; word-break: normal;\"><span class=\"pl-k\" style=\"box-sizing: border-box; color: #a71d5d;\">export<\/span> DOCKER_CONTENT_TRUST=1\n<span class=\"pl-k\" style=\"box-sizing: border-box; color: #a71d5d;\">export<\/span> DOCKER_CONTENT_TRUST_SERVER=https:\/\/10.117.169.182:4443<\/pre>\n<\/div>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';\">If you are using a self-signed cert, make sure to copy the CA cert into\u00a0<code style=\"box-sizing: border-box; font-family: SFMono-Regular, Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 13.6px; padding: 0.2em 0px; background-color: rgba(27, 31, 35, 0.0470588); border-radius: 3px;\">\/etc\/docker\/certs.d\/10.117.169.182<\/code>\u00a0and\u00a0<code style=\"box-sizing: border-box; font-family: SFMono-Regular, Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 13.6px; padding: 0.2em 0px; background-color: rgba(27, 31, 35, 0.0470588); border-radius: 3px;\">$HOME\/.docker\/tls\/10.117.169.182:4443\/<\/code>. When an image is signed, it is indicated in the Web UI.<br style=\"box-sizing: border-box;\" \/><span style=\"box-sizing: border-box; font-weight: 600;\">Note: Replace &#8220;10.117.169.182&#8221; with the IP address or domain name of your Harbor node. In order to use content trust, HTTPS must be enabled in Harbor.<\/span><\/p>\n<p style=\"box-sizing: border-box; margin-top: 0px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; margin-bottom: 0px !important;\">When an image is signed, it has a tick shown in UI; otherwise, a cross sign(X) is displayed instead.<br style=\"box-sizing: border-box;\" \/><a style=\"box-sizing: border-box; background-color: transparent; color: #0366d6; text-decoration: none;\" href=\"https:\/\/github.com\/vmware\/harbor\/blob\/master\/docs\/img\/content_trust.png\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" style=\"box-sizing: content-box; border-style: none;\" src=\"https:\/\/github.com\/vmware\/harbor\/raw\/master\/docs\/img\/content_trust.png\" alt=\"browse project\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>User Guide https:\/\/github.com\/vmware\/harbor\/blob\/master\/docs\/user_guide.md Overview This guide walks you through the fundamentals of using Harbor. You&#8217;ll learn how to use Harbor [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[1],"tags":[],"class_list":["post-233","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/blog.jsjs.org\/index.php?rest_route=\/wp\/v2\/posts\/233","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.jsjs.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.jsjs.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.jsjs.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.jsjs.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=233"}],"version-history":[{"count":0,"href":"https:\/\/blog.jsjs.org\/index.php?rest_route=\/wp\/v2\/posts\/233\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.jsjs.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=233"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.jsjs.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=233"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.jsjs.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=233"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}