Hi, I want to run the command "datahub docker quic...
# troubleshoot
a
Hi, I want to run the command "datahub docker quickstart" in the environment where internet is not connected due to security. The result is : HTTPSConnectionPool(host='raw.githubusercontent.com', port=443): Max retries exceeded with url : /dataub-project/datahub/master/docker/quickstart/docker-compose-without-neo4j.quickstart.yml To solve this, proxy server is essential. Thus, I want to add the "http_proxy" environment variable. But where to add? I think datahub command has no proxy server config option. Then, how can I do?
👀 1
✅ 1
s
i think the proxy should be set on docker
i
The cli tries to connect to GitHub to download some compose files. You can download them yourself, upload to the machine where the cli is running and use the compose file using the
-f
flag
This assumes that you have also populated the local docker cache with the images you want to deploy
a
@square-football-37770 @incalculable-ocean-74010 I found the docker-compose yaml file which quickstart command tries to fetch : https://github.com/datahub-project/datahub/blob/master/docker/quickstart/docker-compose-without-neo4j.quickstart.yml Then, what I have to do is getting this compose file and add http-proxy to the environment, and run it (docker compose -f <yaml file name> up), right?
s
docker-compose up …
will not work cuz elasticsearch doesn’t has anything to start
you need something like
datahub docker quickstart --compose-file=xxxyourfilexx
b
I just want to clarify something, that yml file does specify all the necessary containers including ES.