Upgrade using Docker Compose

Upgrade a Docker Compose deployment of Anchore Enterprise to a newer release within the same major version.

This procedure upgrades a Docker Compose deployment of Anchore Enterprise to a newer release within the same major version. Before you begin, review Prepare for the Upgrade.

Upgrade Procedure

Step 1: Review the Release Notes

View the Anchore Enterprise Release Notes for the target version. The release notes call out breaking changes, new or changed configuration, and any version-specific upgrade instructions you need to plan for before starting.

Step 2: Stop Anchore Enterprise

docker compose down

Step 3: Back Up Your Data Volumes

As described in Prepare for the Upgrade, make a copy of any data volumes before proceeding.

Step 4: Back Up Your Original Compose File

cp docker-compose.yaml docker-compose.yaml.backup

Step 5: Update Your Compose File

Download the compose file that ships with the target release and check it against your current file to see if there any changes that may affect your deployment, such as new services, environment variables, or volume definitions:

curl -sSfL https://docs.anchore.com/current/docs/deployment/docker_compose/docker-compose.yaml > docker-compose-new.yaml

Fold any relevant changes into your docker-compose.yaml. If the diff shows nothing beyond version bumps, confirm every service is still present in your file and update the image tags in place. All services using the enterprise image move to the new release tag, while the ui service uses the separately versioned enterprise-ui image:

 services:
   api:
-    image: docker.io/anchore/enterprise:v6.0.1
+    image: docker.io/anchore/enterprise:v6.1.1
   ui:
-    image: docker.io/anchore/enterprise-ui:v6.0.0
+    image: docker.io/anchore/enterprise-ui:v6.1.0

Step 6: Restart the Anchore Enterprise Containers

docker compose up -d

Step 7: Confirm the Services Start

Watch the output of the previous to confirm all the services start. Once they have all started, you can use the below command to list the running services and confirm that they are all healthy.

docker ps

Step 8: Verify the New Version Is Running

Once the containers are up, verify the new version is running:

anchorectl system status
Last modified August 19, 2026