Running Docker Command in a Docker Container

Check out this post -> Docker Container Get IP Address from host interfaces