You can't. The host and the container are in different network namespaces. You can get only the default gw of your container which is the endpoint of your pipe if you're using veth.
Regards, On Jun 29, 2015 6:40 AM, "Thouraya TH" <[email protected]> wrote: > Hi all > > Please, is there a command to get the ip address of the host that hosts a > container ? > > i'd like to use this command inside the container. > > Thanks a lot. > Best Regards. > > _______________________________________________ > lxc-users mailing list > [email protected] > http://lists.linuxcontainers.org/listinfo/lxc-users >
_______________________________________________ lxc-users mailing list [email protected] http://lists.linuxcontainers.org/listinfo/lxc-users
