Skip to content

How to find the correct docker ip #3

@Nicholas-wei

Description

@Nicholas-wei

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions