docker-compose still trying to pull repo

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
Trying to pull repository docker.io/library/postgres
Trying to pull repository registry.fedoraproject.org/postgres
Trying to pull repository quay.io/postgres
Trying to pull repository registry.centos.org/postgres

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: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