|
@ -911,7 +911,7 @@ export -f wait_docker_ip |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
wait_for_tcp_port() { |
|
|
wait_for_tcp_port() { |
|
|
local network=$1 host_port=$2 timeout=60 |
|
|
|
|
|
|
|
|
local network=$1 host_port=$2 timeout=${3:-60} |
|
|
verb "Trying to connect to $host_port" |
|
|
verb "Trying to connect to $host_port" |
|
|
bash_image=${DEFAULT_BASH_IMAGE:-docker.0k.io/bash} |
|
|
bash_image=${DEFAULT_BASH_IMAGE:-docker.0k.io/bash} |
|
|
echo docker run --rm -i --network "$network" "$bash_image" >&2 |
|
|
echo docker run --rm -i --network "$network" "$bash_image" >&2 |
|
|