# docker-compose still trying to pull repo

**URL:** <https://forum.ansible.com/t/docker-compose-still-trying-to-pull-repo/32211>\
**Category:** AWX Project\
**Tags:** awx\
**Created:** [February 12, 2020, 12:46pm UTC](https://forum.ansible.com/t/docker-compose-still-trying-to-pull-repo/32211 "2020-02-12T12:46:45Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Oxs](https://avatars.discourse-cdn.com/v4/letter/o/ebca7d/32.png) [@Oxs](https://forum.ansible.com/u/Oxs)\
**Post date:** [February 12, 2020, 12:46pm UTC](https://forum.ansible.com/t/docker-compose-still-trying-to-pull-repo/32211/1 "2020-02-12T12:46:45Z")

</div>

Hi guys,

idea to fix this error…it’s certificate error?

docker-compose -f /u01/awx/tools/docker-compose.yml up -d  
WARNING: The CURRENT\_UID variable is not set. Defaulting to a blank string.  
WARNING: The DEV\_DOCKER\_TAG\_BASE variable is not set. Defaulting to a blank string.  
WARNING: The TAG variable is not set. Defaulting to a blank string.  
Pulling postgres (postgres:10)…  
Trying to pull repository [registry.access.redhat.com/postgres](http://registry.access.redhat.com/postgres) …  
Trying to pull repository [docker.io/library/postgres](http://docker.io/library/postgres) …  
Trying to pull repository [registry.fedoraproject.org/postgres](http://registry.fedoraproject.org/postgres) …  
Trying to pull repository [quay.io/postgres](http://quay.io/postgres) …  
Trying to pull repository [registry.centos.org/postgres](http://registry.centos.org/postgres) …

---

<div class="post-metadata">

**Author:** ![Oxs](https://avatars.discourse-cdn.com/v4/letter/o/ebca7d/32.png) [@Oxs](https://forum.ansible.com/u/Oxs)\
**Post date:** [February 12, 2020, 2:05pm UTC](https://forum.ansible.com/t/docker-compose-still-trying-to-pull-repo/32211/2 "2020-02-12T14:05:09Z")

</div>

solution:

I was also facing the same issue behind a firewall. Follow the below steps:

$ sudo vim /etc/systemd/system/docker.service.d/http\_proxy.conf  
[Service]  
Environment=“HTTP\_PROXY=[http://username:password@IP](http://username:password@IP):port/”

Don’t use or remove the https\_prxoy.conf file.  
Reload and restart your Docker container:

$ sudo systemctl daemon-reload  
$ sudo systemctl restart docker  
$ docker pull hello-world  
Using default tag: latest  
latest: Pulling from library/hello-world  
1b930d010525: Pull complete  
Digest: sha256:2557\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*8  
Status: Downloaded newer image for hello-world:latest
