|
|
@ -562,7 +562,7 @@ ensure_db_docker_running () { |
|
|
|
docker_opts= |
|
|
|
debug docker network create "$_DB_NAME" |
|
|
|
if ! network_id=$(docker network create "$_DB_NAME"); then |
|
|
|
err "'docker network create' failed !" |
|
|
|
err "'docker network create $_DB_NAME' failed !" |
|
|
|
_clean_docker "$_DB_NAME" "$container_id" |
|
|
|
rm "$state_tmpdir/${_DB_NAME}.working" |
|
|
|
return 1 |
|
|
@ -733,7 +733,7 @@ wait_for_docker_ip() { |
|
|
|
IFS="/" read port type <<<"$port" |
|
|
|
[ "$type" == "tcp" ] || continue |
|
|
|
wait_for_tcp_port "$DOCKER_NETWORK" "$DOCKER_IP:${port}" || return 17 |
|
|
|
verb "Port $DOCKER_IP:${port} checked open." |
|
|
|
info "Host/Port $DOCKER_IP:${port} checked ${GREEN}open${NORMAL}." |
|
|
|
done < <(image_exposed_ports_0 "$container_id") |
|
|
|
|
|
|
|
## Checking direct connection |
|
|
|