Originally created by @afridi26 on GitHub (Jan 11, 2021).
Hey,
I am behind a proxy. To run this docker container, I follow the instructions as specified in the README file and had also gone through boot instructions.
I ran the following command and the screen is shown to me:
I am getting the following error during installation.
Any help would be appreciated.
Thanks.
Originally created by @afridi26 on GitHub (Jan 11, 2021).
Hey,
I am behind a proxy. To run this docker container, I follow the instructions as specified in the README file and had also gone through boot [instructions](https://github.com/sickcodes/Docker-OSX#additional-boot-instructions).
I ran the following command and the screen is shown to me:
```
docker run \
--device /dev/kvm \
-p 50922:10022 \
-v /tmp/.X11-unix:/tmp/.X11-unix \
-e "DISPLAY=${DISPLAY:-:0.0}" \
sickcodes/docker-osx:latest
```
I am getting the following error during installation.

Any help would be appreciated.
Thanks.
You have to set the rtc to your correct time. Open a terminal and run date Month Date Hour Minute Year without any separation. For example date 0712122318 would be “July 12 2018 at 12:23”
@Element21 commented on GitHub (Jan 11, 2021):
You have to set the rtc to your correct time. Open a terminal and run `date Month Date Hour Minute Year without any separation.` For example `date 0712122318` would be “July 12 2018 at 12:23”
I make changes as per your instruction but getting the same error.
But I am getting the same error again. Any idea why?
Thanks.
@afridi26 commented on GitHub (Jan 12, 2021):
Hey @Element21,
Thank you for your valuable time.
I make changes as per your instruction but getting the same error.

But I am getting the same error again. Any idea why?
Thanks.
@sickcodes commented on GitHub (Jan 19, 2021):
Tbh it has to do with the proxy, Docker obeys the two environment variables below:
```bash
export HTTP_PROXY=1.1.1.1
export HTTPS_PROXY=1.1.1.1
sudo killall dockerd && sudo dockerd
```
I tried to load a website in safari browser but its not working. I am sure it is internet issue. I am behind the proxy and connected via anyconnect.
If I am able to install openeconnect somehow inside the container, then I can get access to public internet. I am trying to update the Dockerfile, so to install openconnect and then use it? What you say is it a good idea?
@afridi26 commented on GitHub (Jan 19, 2021):
I tried to load a website in safari browser but its not working. I am sure it is internet issue. I am behind the proxy and connected via anyconnect.
If I am able to install openeconnect somehow inside the container, then I can get access to public internet. I am trying to update the Dockerfile, so to install openconnect and then use it? What you say is it a good idea?
@afridi26
I think the problem is your container doesn't have access to internet and it's not about macOs
at least you should be able to have ping to 8.8.8.8 from container
and then i use openvpn in my host os to continue installing ( اینجا ایرانه دیگه مجوریم )
@rabinhod commented on GitHub (Jan 19, 2021):
@afridi26
I think the problem is your container doesn't have access to internet and it's not about macOs
at least you should be able to have ping to 8.8.8.8 from container
and then i use openvpn in my host os to continue installing ( اینجا ایرانه دیگه مجوریم )
You have to force the docker daemon to use the proxy. This is a Docker problem with your anyconnect VPN. Try a different VPN. Add a firewall rule to send docker traffic through the anyconnect VPN.
@sickcodes commented on GitHub (Jan 25, 2021):
You have to force the docker daemon to use the proxy. This is a Docker problem with your anyconnect VPN. Try a different VPN. Add a firewall rule to send docker traffic through the anyconnect VPN.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @afridi26 on GitHub (Jan 11, 2021).
Hey,
I am behind a proxy. To run this docker container, I follow the instructions as specified in the README file and had also gone through boot instructions.
I ran the following command and the screen is shown to me:
I am getting the following error during installation.
Any help would be appreciated.
Thanks.
@Element21 commented on GitHub (Jan 11, 2021):
You have to set the rtc to your correct time. Open a terminal and run
date Month Date Hour Minute Year without any separation.For exampledate 0712122318would be “July 12 2018 at 12:23”@afridi26 commented on GitHub (Jan 12, 2021):
Hey @Element21,
Thank you for your valuable time.
I make changes as per your instruction but getting the same error.
But I am getting the same error again. Any idea why?
Thanks.
@Element21 commented on GitHub (Jan 12, 2021):
Hmmmmm. That fixed it for me
@sickcodes commented on GitHub (Jan 12, 2021):
Might be country of origin. Try a VPN?
@rabinhod commented on GitHub (Jan 19, 2021):
I fixed with this link
https://www.edureka.co/community/12726/my-docker-container-has-no-internet
@afridi26 commented on GitHub (Jan 19, 2021):
@rabinhod Hey Thanks,
I tried but the problem persists.
Regards,
Aftab
@sickcodes commented on GitHub (Jan 19, 2021):
When you open the Safari browser in the recovery disk, do websites load?
@sickcodes commented on GitHub (Jan 19, 2021):
Tbh it has to do with the proxy, Docker obeys the two environment variables below:
@afridi26 commented on GitHub (Jan 19, 2021):
I tried to load a website in safari browser but its not working. I am sure it is internet issue. I am behind the proxy and connected via anyconnect.
If I am able to install openeconnect somehow inside the container, then I can get access to public internet. I am trying to update the Dockerfile, so to install openconnect and then use it? What you say is it a good idea?
@rabinhod commented on GitHub (Jan 19, 2021):
@afridi26
I think the problem is your container doesn't have access to internet and it's not about macOs
at least you should be able to have ping to 8.8.8.8 from container
and then i use openvpn in my host os to continue installing ( اینجا ایرانه دیگه مجوریم )
@sickcodes commented on GitHub (Jan 25, 2021):
You have to force the docker daemon to use the proxy. This is a Docker problem with your anyconnect VPN. Try a different VPN. Add a firewall rule to send docker traffic through the anyconnect VPN.