> For the complete documentation index, see [llms.txt](https://docs.duplocloud.com/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.duplocloud.com/docs/automation-platform/overview-2/azure-services/containers-and-services/container-rollback.md).

# Container Rollback

Roll back a container image for Kubernetes or Docker Services

Container Rollback in DuploCloud allows users to quickly revert a Kubernetes or Docker Service's container image to a previous, stable version. This is especially useful in scenarios where a newly deployed container image introduces issues, errors, or failures in the application. With this feature, users can ensure minimal downtime and maintain the stability of their Services by rolling back to a known good state. Container rollback is support for:

* **Kubernetes** (on EKS, AKS, GKE, and DuploCloud Kubernetes)
* **Docker Services**

## Rolling back a container image

1. Select the appropriate Tenant from the **Tenant** list box.
2. Navigate to **Kubernetes** -> **Services** or **Docker** -> **Services**.
3. In the **NAME** column, select the service you want to roll back.
4. From the **Actions** menu, choose **Rollback**. The **Rollback Container Image** pane will appear.<br>

   <div align="left"><figure><img src="https://2471407984-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F68cb0s9ce5UIUKWPuYs8%2Fuploads%2FeF4OON0cURV2PVViFhQ1%2FScreenshot%20(48).png?alt=media&amp;token=7b477460-057e-4f87-942d-f7c707aa1bd1" alt="" width="363"><figcaption></figcaption></figure></div>
5. In the **Image** list box, select the version of the container image you want to roll back to.
6. Click **Rollback** to revert the service to the selected image.

## **Disabling container image history tracking**

1. Navigate to **Admin -> System Settings**.
2. Select the **System Config** tab and click **Add**. The **Add Config** pane displays.
3. For **Config Type**, select **Flags**.
4. In the **Key** list box, select **Disable Container Image History Tracking**.
5. Set the **Value** to **True** to disable image history tracking (default is **False**).
6. Click **Submit**. The setting is saved.

<figure><img src="https://2471407984-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F68cb0s9ce5UIUKWPuYs8%2Fuploads%2FkDXALjCThHT2dolidKgz%2Fsystem%20config.png?alt=media&amp;token=f659c737-ccec-4504-b38e-08960dfd8384" alt=""><figcaption><p>The <strong>Add Config</strong> pane configured to disable container image history tracking</p></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.duplocloud.com/docs/automation-platform/overview-2/azure-services/containers-and-services/container-rollback.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
