docs/docker-trusted-registry/user-management/create-and-manage-orgs.md

56 lines
1.8 KiB
Markdown

---
description: Learn how to set up organizations to enforce security in Docker Trusted
Registry.
keywords:
- docker, registry, security, permissions, organizations
menu:
main:
identifier: dtr-create-organizations
parent: dtr_menu_user_management
weight: 20
title: Create and manage organizations
---
# Create and manage organizations
When a user creates a repository, only that user has permissions to make changes
to the repository.
For team workflows, where multiple users have permissions to manage a set of
common repositories, create an organization. By default, DTR has one organization
called 'docker-datacenter', that is shared between DTR and UCP.
To create a new organization, navigate to the **DTR web UI**, and go to the
**Organizations** page.
![](../images/create-and-manage-orgs-1.png)
Click the **New organization** button, and choose a meaningful name for the
organization.
![](../images/create-and-manage-orgs-2.png)
Repositories owned by this organization will contain the organization name, so
to pull an image from that repository, you'll use:
```bash
$ docker pull <dtr-domain-name>/<organization>/<repository>:<tag>
```
Click **Save** to create the organization, and then **click the organization**
to define which users are allowed to manage this
organization. These users will be able to edit the organization settings, edit
all repositories owned by the organization, and define the user permissions for
this organization.
For this, click the **Add user** button, **select the users** that you want to
grant permissions to manage the organization, and click
**Save**. Then change their permissions from 'Member' to **Admin**.
![](../images/create-and-manage-orgs-3.png)
## Where to go next
* [Create and manage users](create-and-manage-users.md)
* [Create and manage teams](create-and-manage-teams.md)