def _get_ip():
cmd_netstat = ['<STR_LIT>', '<STR_LIT>']<EOL>p1 = subprocess.Popen(cmd_netstat, stdout=subprocess.PIPE)<EOL>cmd_grep = ['<STR_LIT>', '<STR_LIT>']<EOL>p2 = subprocess.Popen(cmd_grep, stdin=p1.stdout, stdout=subprocess.PIPE)<EOL>cmd_awk = ['<STR_LIT>', '<STR_LIT>']<EOL>p3 = subprocess.Popen(cmd_awk, stdin=p2.stdout, stdout=subprocess.PIPE)<EOL>galaxy_ip = p3.stdout.read()<EOL>log.debug('<STR_LIT>', galaxy_ip)<EOL>return galaxy_ip<EOL>
Get IP address for the docker host