Sign inSign up

racknet/ip

By racknet

•Updated almost 11 years ago

Query network information from Docker containers

Image
3

2.1K

racknet/ip repository overview

⁠racknet

Query the host networking when working in a Docker environment on Rackspace

$ docker run --net=host --rm racknet/ip public
104.130.0.127
$ docker run --net=host --rm racknet/ip service
10.184.13.252

⁠Usage

racknet public [ipv4|ipv6]
racknet service [ipv4|ipv6]

Examples:
          $ racknet public
          104.130.0.127

          $ racknet service ipv6
          fe80::be76:4eff:fe20:b452

Examples when run with Docker:
          $ docker run --net=host racknet/ip public
          104.130.0.127

Tag summary

Content type

Image

Digest

sha256:6dfa1877e…

Size

2.8 MB

Last updated

almost 11 years ago

docker pull racknet/ip