Getting "image is in use by a container" error during Red Hat Ansible Automation Platform upgrade

Solution Verified - Updated -

Issue

  • While upgrading the Red Hat Ansible Automation Platform, the task is failing with the below error.

    level=error msg=\"2 errors occurred:\\n\\t* image used by <container_id>: image is in use by a container: consider listing external containers and force-removing image\"
    

Environment

  • Red Hat® Ansible Automation Platform 2.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content