sefcom / greenhouse

Other
45 stars 3 forks source link

How to find the correct docker ip #3

Open Nicholas-wei opened 10 months ago

Nicholas-wei commented 10 months ago

Hello author I want to ask how to find the correct docker IP argument when running gh.py in the field --ip= For example, if the shell command $ ip a outputs like this

5: docker0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default 
    link/ether 02:42:51:33:77:fd brd ff:ff:ff:ff:ff:ff
    inet 172.17.0.1/16 brd 172.17.255.255 scope global docker0
       valid_lft forever preferred_lft forever
    inet6 fe80::42:51ff:fe33:77fd/64 scope link 
       valid_lft forever preferred_lft forever

should I write --ip=172.17.0.1 or something else? How to find the correct ip argument? I will appreciate it very much if you could help, thanks!