# local\_docker : Run migrations in task container

**URL:** <https://forum.ansible.com/t/local-docker-run-migrations-in-task-container/34488>\
**Category:** AWX Project\
**Tags:** awx\
**Created:** [January 21, 2021, 10:25am UTC](https://forum.ansible.com/t/local-docker-run-migrations-in-task-container/34488 "2021-01-21T10:25:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Yan](https://avatars.discourse-cdn.com/v4/letter/y/3e96dc/32.png) [@Yan](https://forum.ansible.com/u/Yan)\
**Post date:** [January 21, 2021, 10:25am UTC](https://forum.ansible.com/t/local-docker-run-migrations-in-task-container/34488/1 "2021-01-21T10:25:46Z")

</div>

Hello,

I’ve got this error for the task mentioned in subject of this conversation:

TASK [local\_docker : Run migrations in task container] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
fatal: [localhost]: FAILED! =\> {“changed”: true, “cmd”: “docker-compose run --rm --service-ports task awx-manage migrate --no-input”, “delta”: “0:00:00.359370”, “end”: “2021-01-21 11:11:27.475878”, “msg”: “non-zero return code”, “rc”: 1, “start”: “2021-01-21 11:11:27.116508”, “stderr”: “Pulling redis (redis:)…\nGet [https://registry-1.docker.io/v2/:](https://registry-1.docker.io/v2/:) dial tcp 23.22.155.84:443: connect: connection refused”, “stderr\_lines”: [“Pulling redis (redis:)…”, “Get [https://registry-1.docker.io/v2/:](https://registry-1.docker.io/v2/:) dial tcp 23.22.155.84:443: connect: connection refused”], “stdout”: “”, “stdout\_lines”: }

PLAY RECAP \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
localhost : ok=14 changed=3 unreachable=0 failed=1 skipped=73 rescued=0 ignored=1

My AWX is behind a proxy but I’m not sure this is the problem.

Can someone help me ?

Thx in advance.

Regards
