Skip to content
This repository has been archived by the owner on Apr 5, 2023. It is now read-only.

Running docker images behind proxy (i.e., corporate network or non-open network) might fail onboarding due to non reachability to internet for few scenarios. #63

Closed
KiranSukhavasi opened this issue Dec 14, 2020 · 0 comments
Labels
Docker Issue Generic docker issues are updated here.

Comments

@KiranSukhavasi
Copy link

KiranSukhavasi commented Dec 14, 2020

Issue: When SDO AIO or any other docker container is running behind the proxy and needs to verify the epid while onboarding sdo client devices then it might fail to reach internet due to few proxy settings not updated in the Dockerfile and docker environment can't reach outside the network.

Solution:
For example: in the case of AIO, the files Dockerfile and Dockerfile.rendezvous needs to be updated with the below flags and build the docker again so that it can reach the outside network using these proxy settings.**

ENV http_proxy http://<proxy.domain.com>:<port>
ENV https_proxy http://<proxy.domain.com>:<port>
ENV no_proxy <domain.com>,<.domain.com>,.localdomain,localhost,127.0.0.1
ENV _JAVA_OPTIONS -Dhttp.proxyHost=<proxy.domain.com> -Dhttp.proxyPort=<port> -Dhttps.proxyHost=<proxy.domain.com> -Dhttps.proxyPort=<port>

@DukeDavis12 DukeDavis12 added the Docker Issue Generic docker issues are updated here. label Dec 14, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Docker Issue Generic docker issues are updated here.
Projects
None yet
Development

No branches or pull requests

2 participants