# Change container ownership

Portainer allows you to limit container management to specific teams or users.

From the menu select **Containers** then select the container whose ownership you want to change.

<figure><img src="/files/dhJFKi12CwJuY2Ja4EW5" alt=""><figcaption></figcaption></figure>

Under the **Access control** section tick the **Change ownership** checkbox then select the new ownership type, using the table below as a guide.

| Ownership Type | Overview                                                                                                  |
| -------------- | --------------------------------------------------------------------------------------------------------- |
| Administrators | Only Portainer administrators can manage the container.                                                   |
| Restricted     | Only teams or users you specify can manage the container.                                                 |
| Public         | Anyone who has [access to the environment](broken://pages/-MhRf3LxN2ln2V0-Yxmj) can manage the container. |

<figure><img src="/files/17SuvAKmOhI9JgRkOFlR" alt=""><figcaption></figcaption></figure>

When you've made your selection, click **Update ownership**. When the confirmation message appears, click **Change ownership**.

<figure><img src="/files/EM1VWsmjwmAokyM9CwYG" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.portainer.io/user/docker/containers/ownership.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
