Explorar o código

Add missing file

James Allen %!s(int64=11) %!d(string=hai) anos
pai
achega
820b6ad4e8
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      server-ce/00_set_docker_host_ipaddress.sh

+ 3 - 0
server-ce/00_set_docker_host_ipaddress.sh

@@ -0,0 +1,3 @@
+#!/bin/sh
+# See the bottom of http://stackoverflow.com/questions/24319662/from-inside-of-a-docker-container-how-do-i-connect-to-the-localhost-of-the-mach
+echo "`route -n | awk '/UG[ \t]/{print $2}'` dockerhost" >> /etc/hosts