Docker Image not able to start postgres

Hello everyone,

I installed the awx for poc was able to get it up and running. I removed it because I wanted to test something on the machine.
Now I am unable to install it again on the machine. Below is the error. The error states that postgres is unable to start due to
the use of a deprecated API but I am unable to debug which API is it talking about. Any idea on the same.

The task which fails: “Activate postgres container”

TASK [local_docker : Activate postgres container] ***************************************************************************************************
fatal: [localhost]: FAILED! => {“changed”: false, “msg”: “Error connecting: API versions below 1.21 are no longer supported by this library.”}
to retry, use: --limit @/root/ansible_awx/installer/install.retry

PLAY RECAP ******************************************************************************************************************************************
localhost : ok=4 changed=0 unreachable=0 failed=1

Thanks
Mrinal

Looks like your Docker might be out of date? Try updating and see if that helps.

Yes, I think that was a problem also Updated the dockerpy module just to be sure.

Thanks
Mrinal