Error building awx 7.0.0 docker images

I seem to be running into some trouble building AWX 7.0. I am running CentOS Linux release 7.7.1908 (Core) using Docker-CE docker-ce-19.03.2-3.el7.x86_64.

If I try to run the ansible-playbook as myself (yes I am in the docker groups) I get the following error:
I assume this is a permissions issue but unsure WHAT it should be.

`

The full traceback is:
WARNING: The below traceback may not be related to the actual failure.
File “/tmp/ansible_stat_payload_xkFJ0K/main.py”, line 480, in main
st = os.lstat(b_path)

fatal: [localhost]: FAILED! => {
“changed”: false,
“invocation”: {
“module_args”: {
“checksum_algorithm”: “sha1”,
“follow”: false,
“get_attributes”: true,
“get_checksum”: true,
“get_md5”: null,
“get_mime”: true,
“path”: “/var/lib/pgdocker/pgdata/PG_VERSION”
}
},
“msg”: “Permission denied”
}

PLAY RECAP **********************************************************************************************************************************************************************************************************************************
localhost : ok=4 changed=0 unreachable=0 failed=1 skipped=69 rescued=0 ignored=0

`

But if I run it as root I get the following

`

WARNING: The below traceback may not be related to the actual failure.
File “/tmp/ansible_docker_service_payload_RFUf_T/main.py”, line 476, in
from compose.cli.command import project_from_options
File “/usr/lib/python2.7/site-packages/compose/cli/command.py”, line 10, in
from . import errors
File “/usr/lib/python2.7/site-packages/compose/cli/errors.py”, line 10, in
from docker.errors import APIError
File “/usr/lib/python2.7/site-packages/docker/init.py”, line 2, in
from .api import APIClient
File “/usr/lib/python2.7/site-packages/docker/api/init.py”, line 2, in
from .client import APIClient
File “/usr/lib/python2.7/site-packages/docker/api/client.py”, line 5, in
import requests
File “/usr/lib/python2.7/site-packages/requests/init.py”, line 58, in
from . import utils
File “/usr/lib/python2.7/site-packages/requests/utils.py”, line 25, in
from . import certs

fatal: [localhost]: FAILED! => {
“changed”: false,
“invocation”: {
“module_args”: {
“api_version”: “auto”,
“build”: false,
“ca_cert”: null,
“client_cert”: null,
“client_key”: null,
“debug”: false,
“definition”: null,
“dependencies”: true,
“docker_host”: “unix://var/run/docker.sock”,
“files”: null,
“hostname_check”: false,
“nocache”: false,
“project_name”: null,
“project_src”: “/tmp/awxcompose”,
“pull”: false,
“recreate”: “smart”,
“remove_images”: null,
“remove_orphans”: false,
“remove_volumes”: false,
“restarted”: false,
“scale”: null,
“services”: null,
“ssl_version”: null,
“state”: “present”,
“stopped”: true,
“timeout”: 10,
“tls”: false,
“tls_hostname”: “localhost”,
“validate_certs”: false
}
},
“msg”: “Failed to import the required Python library (Docker SDK for Python: docker (Python >= 2.7) or docker-py (Python 2.6)) on automation01.asm.example.local’s Python /bin/python. Please read module documentation and install in the appropriate location, for example via pip install docker or pip install docker-py (Python 2.6). The error was: cannot import name certs”
}

PLAY RECAP **********************************************************************************************************************************************************************************************************************************
localhost : ok=8 changed=0 unreachable=0 failed=1 skipped=69 rescued=0 ignored=0

[root@automation01 installer]#

`