Get Linux IP by hostname

$ hostname -I
172.17.0.2

Comments