Explorar el Código

added note regarding "host.docker.internal"

Fabian Peter Hammerle hace 3 años
padre
commit
5ee5503fe5
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      entrypoint.sh

+ 2 - 0
entrypoint.sh

@@ -1,6 +1,8 @@
 #!/bin/sh
 set -e
 
+# potential alternative: host.docker.internal
+# docker v20.10.0 vhttps://github.com/moby/moby/pull/40007
 export DOCKER_HOST_ADDRESS="$(ip route show default | grep default | cut -d ' ' -f 3)"
 
 set -x