# Docker proxy setup (on the client side)

**URL:** <https://forums.docker.com/t/docker-proxy-setup-on-the-client-side/95644>\
**Category:** Docker Hub\
**Created:** [June 19, 2020, 11:32pm UTC](https://forums.docker.com/t/docker-proxy-setup-on-the-client-side/95644 "2020-06-19T23:32:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jopuy22](https://avatars.discourse-cdn.com/v4/letter/j/258eb7/32.png) [@jopuy22](https://forums.docker.com/u/jopuy22)\
**Post date:** [June 19, 2020, 11:32pm UTC](https://forums.docker.com/t/docker-proxy-setup-on-the-client-side/95644/1 "2020-06-19T23:32:19Z")

</div>

I have a docker proxy set up (made by using Nexus OSS), and I am having trouble getting the client to pull from the proxy.  
I have followed the steps of setting up the environmental variable HTTP\_PROXY.  
I created a file with the following contents:  
`sudo vi /etc/systemd/system/docker.service.d/http-proxy.conf`

```auto
[Service]
Environment="HTTP_PROXY=http://10.1.2.88:80/repository/docker-proxy/"

```

I entered these commands after:

```auto
sudo systemctl daemon-reload
sudo systemctl restart docker

```

Here is the result of this command, which checks to ensure the environmental variable exists:  
`systemctl show docker --property Environment`

```auto
Environment=HTTP_PROXY=http://10.1.2.88:80/repository/docker-proxy/

```

Whenever I run the command to pull an image, I get the following:  
`sudo docker pull debian`

```auto
Using default tag: latest
Error response from daemon: Get https://registry-1.docker.io/v2/: Not Found

```

This indicates to me that it is not attempting to go through my proxy. Even if we assume the proxy isn’t working, it should still be attempting to pull through it. Can anyone tell me why this is happening?

I attempted this command as well to test the proxy:  
`sudo HTTP_PROXY=http://10.1.2.88:80/repository/docker-proxy/ docker pull busybox`  
But I still got the same output.
