ncbi / gaptools

dbGaP data validation tool repo
Other
12 stars 11 forks source link

How to find my docker host ip? #15

Open DanielEWeeks opened 1 year ago

DanielEWeeks commented 1 year ago

In the readme, it says:

To view the validation results of the dbGaP validation tool, browse to the following URL:

http://<your_docker_host_ip>:8080

However, being not very experienced with using Docker yet, I am uncertain how to find the docker host IP address.

I did figure out these IP addresses:

$ docker inspect -f '{{.Name}} - {{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' $(docker ps -aq)
/gaptools-worker-1 - 172.18.0.8
/gaptools-gaptools-ui-1 - 172.18.0.7
/gaptools-scheduler-1 - 172.18.0.6
/gaptools-airflow-web-1 - 172.18.0.5
/gaptools-flower-1 - 172.18.0.4
/gaptools-postgres-1 - 172.18.0.3
/gaptools-redis-1 - 172.18.0.2

But when I try to connect to

http://172.18.0.5:8080

it is non-responsive and times out.

Looks like the work process ran O.K., as I see and can read the e-mail *.html file that was generated in the

gaptools/output_files/1000_Genomes_Study/client_emails/studies

folder.

ThinkTwiceCodeOne commented 6 months ago

Use this hostname -I | awk '{print $1}' and you'll get the ip