{"_id":"595fb3b05c5582001bb74f37","project":"55faf11ba62ba1170021a9a7","version":{"_id":"55faf11ba62ba1170021a9aa","project":"55faf11ba62ba1170021a9a7","__v":38,"createdAt":"2015-09-17T16:58:03.490Z","releaseDate":"2015-09-17T16:58:03.490Z","categories":["55faf11ca62ba1170021a9ab","55faf8f4d0e22017005b8272","55faf91aa62ba1170021a9b5","55faf929a8a7770d00c2c0bd","55faf932a8a7770d00c2c0bf","55faf94b17b9d00d00969f47","55faf958d0e22017005b8274","55faf95fa8a7770d00c2c0c0","55faf96917b9d00d00969f48","55faf970a8a7770d00c2c0c1","55faf98c825d5f19001fa3a6","55faf99aa62ba1170021a9b8","55faf99fa62ba1170021a9b9","55faf9aa17b9d00d00969f49","55faf9b6a8a7770d00c2c0c3","55faf9bda62ba1170021a9ba","5604570090ee490d00440551","5637e8b2fbe1c50d008cb078","5649bb624fa1460d00780add","5671974d1b6b730d008b4823","5671979d60c8e70d006c9760","568e8eef70ca1f0d0035808e","56d0a2081ecc471500f1795e","56d4a0adde40c70b00823ea3","56d96b03dd90610b00270849","56fbb83d8f21c817002af880","573c811bee2b3b2200422be1","576bc92afb62dd20001cda85","5771811e27a5c20e00030dcd","5785191af3a10c0e009b75b0","57bdf84d5d48411900cd8dc0","57ff5c5dc135231700aed806","5804caf792398f0f00e77521","58458b4fba4f1c0f009692bb","586d3c287c6b5b2300c05055","58ef66d88646742f009a0216","58f5d52d7891630f00fe4e77","59a555bccdbd85001bfb1442"],"is_deprecated":false,"is_hidden":false,"is_beta":true,"is_stable":true,"codename":"","version_clean":"1.0.0","version":"1.0"},"category":{"_id":"55faf958d0e22017005b8274","__v":8,"pages":["56268b3cc2781f0d00364bc0","5637bfa84dbdd919001b277d","5637e6fe97666c0d008656b6","5637e74acfaa870d00cdeb7a","5637e764f7e3990d007b2c52","5640baf604c3eb0d006fc43c","56cccb6894c8f00b00b83f24","56ddf68dba70f50e0033c6df"],"project":"55faf11ba62ba1170021a9a7","version":"55faf11ba62ba1170021a9aa","sync":{"url":"","isSync":false},"reference":false,"createdAt":"2015-09-17T17:33:12.687Z","from_sync":false,"order":14,"slug":"bring-your-tools","title":"BRING YOUR TOOLS"},"user":"566590c83889610d0008a253","__v":0,"parentDoc":null,"updates":[],"next":{"pages":[],"description":""},"createdAt":"2017-07-07T16:15:44.263Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"settings":"","results":{"codes":[]},"auth":"required","params":[],"url":""},"isReference":false,"order":6,"body":"##Overview\n[block:callout]\n{\n  \"type\": \"info\",\n  \"body\": \"This page documents the Advance Access version (think \\\"beta\\\" but with fewer bugs) of the functionality for managing Docker repositories.\"\n}\n[/block]\nManage your [Docker](doc:docker-basics) repositories by specifying privacy settings and designating specific levels of access for each member of your repository.\n\n## Prerequisite\n\nOperations described on this page require you to have a repository containing images on the CGC Image Registry. Learn more about [uploading images to the CGC image registry](doc:upload-your-docker-image).\n\n## Adjust privacy settings\n\nAll newly created repositories are set as \"public\" by default. Change your privacy settings through the following steps:\n\n1. Click on **Developer** in the main navigation.\n3. In the **Developer Dashboard** select the **Docker repository** tab.\n4. Click on **Type** next to your repository and select one of the following options from the dropdown menu which appears:\n  * **Public** - Anyone can pull images from your repository, but only users who are added as members and are given write permissions can push images to your repository.\n  * **Private** - The repository can only be accessed by its members. Members who have read permissions are only able to pull images, while those with **write** permissions can also push to your repository.\n\nLearn more about managing member privileges below. Note that it may take a minute or two for the change to be applied to your repository.\n\n## Manage member access\n\nManage access to your repositories by adding members and setting their permissions.\n\n### Access the Manage members panel\n\n1. Click your username in the top-right corner.\n2. Click on **Developer**.\n3. In the **Developer Dashboard** select the **Docker repository** tab.\n4. Click on the members icon <img src=\"https://files.readme.io/a1168fb-manage-repository.png\" width=\"auto\" align=\"inline\" style=\"margin:1px\"/> in the **Actions** column for the desired repository. The following window is displayed.\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/f08fb92-mamnage-members.png\",\n        \"mamnage-members.png\",\n        769,\n        470,\n        \"#ededec\"\n      ],\n      \"border\": true\n    }\n  ]\n}\n[/block]\n##Add a member\n\n1. Access the **Manage members** panel.\n2. In the section labeled **Invite new members**, type the member's username. Note that only existing Platform users who are members of the project in which the repository is used can be added as members of your repository. \n3. Set the member's permissions in the adjacent dropdown menu:\na. Check the **Write** option to allow write permissions for your repository. This member can push images to your repository whether or not it is public.\nb. Uncheck the **Write** option to allow read-only access to your repository. This member can to pull images from your whether or not it is public.\n\nAfter adding a member to a repository, also make sure they are a member of the project the repository will be used in.\n\n##Change a member's permissions\n\n1. Access the **Manage members** panel.\n2. Open the **Permissions** menu next to a member's username.\n3. Check or uncheck **Write**. If Write is deselected, that member will only have read permissions for the repository.\n\n##Remove a member from your repository\n\n1. Access the **Manage members** panel.\n2. Click <img src=\"https://files.readme.io/205e5f7-remove-icon.png\" width=\"auto\" align=\"inline\" style=\"margin:1px\"/> next to the member you want to remove.\n3. Click **OK** on the confirmation dialog, and that member will be removed from your repository.\n\n##Leave a repository\n[block:callout]\n{\n  \"type\": \"info\",\n  \"body\": \"You cannot leave a repository you own.\"\n}\n[/block]\n1. From anywhere on the Platform, click your user name in the top-right corner.\n2. Select **Developer**.\n3. Click the **Docker repository** tab.\n4. Click the leave icon <img src=\"https://files.readme.io/nYvGi9f2SSm67jYFN5Kw_leave-icon.jpg\"\nheight=\"20px\" width=\"auto\" align=\"inline\" style=\"margin:1px\"/>  next to the desired repository in the **Actions** column.\n5. Click **Leave** to confirm leaving the repository.\n\n<hr>\n\n## Terms on this page\n  * [Docker](doc:glossary#section--docker-) \n  * [CGC Image Registry](doc:glossary#section--cgc-image-registry-)","excerpt":"","slug":"manage-docker-repositories","type":"basic","title":"Manage Docker repositories"}

Manage Docker repositories


##Overview [block:callout] { "type": "info", "body": "This page documents the Advance Access version (think \"beta\" but with fewer bugs) of the functionality for managing Docker repositories." } [/block] Manage your [Docker](doc:docker-basics) repositories by specifying privacy settings and designating specific levels of access for each member of your repository. ## Prerequisite Operations described on this page require you to have a repository containing images on the CGC Image Registry. Learn more about [uploading images to the CGC image registry](doc:upload-your-docker-image). ## Adjust privacy settings All newly created repositories are set as "public" by default. Change your privacy settings through the following steps: 1. Click on **Developer** in the main navigation. 3. In the **Developer Dashboard** select the **Docker repository** tab. 4. Click on **Type** next to your repository and select one of the following options from the dropdown menu which appears: * **Public** - Anyone can pull images from your repository, but only users who are added as members and are given write permissions can push images to your repository. * **Private** - The repository can only be accessed by its members. Members who have read permissions are only able to pull images, while those with **write** permissions can also push to your repository. Learn more about managing member privileges below. Note that it may take a minute or two for the change to be applied to your repository. ## Manage member access Manage access to your repositories by adding members and setting their permissions. ### Access the Manage members panel 1. Click your username in the top-right corner. 2. Click on **Developer**. 3. In the **Developer Dashboard** select the **Docker repository** tab. 4. Click on the members icon <img src="https://files.readme.io/a1168fb-manage-repository.png" width="auto" align="inline" style="margin:1px"/> in the **Actions** column for the desired repository. The following window is displayed. [block:image] { "images": [ { "image": [ "https://files.readme.io/f08fb92-mamnage-members.png", "mamnage-members.png", 769, 470, "#ededec" ], "border": true } ] } [/block] ##Add a member 1. Access the **Manage members** panel. 2. In the section labeled **Invite new members**, type the member's username. Note that only existing Platform users who are members of the project in which the repository is used can be added as members of your repository. 3. Set the member's permissions in the adjacent dropdown menu: a. Check the **Write** option to allow write permissions for your repository. This member can push images to your repository whether or not it is public. b. Uncheck the **Write** option to allow read-only access to your repository. This member can to pull images from your whether or not it is public. After adding a member to a repository, also make sure they are a member of the project the repository will be used in. ##Change a member's permissions 1. Access the **Manage members** panel. 2. Open the **Permissions** menu next to a member's username. 3. Check or uncheck **Write**. If Write is deselected, that member will only have read permissions for the repository. ##Remove a member from your repository 1. Access the **Manage members** panel. 2. Click <img src="https://files.readme.io/205e5f7-remove-icon.png" width="auto" align="inline" style="margin:1px"/> next to the member you want to remove. 3. Click **OK** on the confirmation dialog, and that member will be removed from your repository. ##Leave a repository [block:callout] { "type": "info", "body": "You cannot leave a repository you own." } [/block] 1. From anywhere on the Platform, click your user name in the top-right corner. 2. Select **Developer**. 3. Click the **Docker repository** tab. 4. Click the leave icon <img src="https://files.readme.io/nYvGi9f2SSm67jYFN5Kw_leave-icon.jpg" height="20px" width="auto" align="inline" style="margin:1px"/> next to the desired repository in the **Actions** column. 5. Click **Leave** to confirm leaving the repository. <hr> ## Terms on this page * [Docker](doc:glossary#section--docker-) * [CGC Image Registry](doc:glossary#section--cgc-image-registry-)