-
Notifications
You must be signed in to change notification settings - Fork 19
Description
I got a error when I docker run the image:lasted.
nc: getaddrinfo: Name or service not known
waiting for mysql to start
and i foud the file entrypoint.sh wite the code:
# Wait for the mysql container to be ready
while ! nc -z mysql 3306; do
echo "Waiting for mysql to start";
sleep 1;
done;
below is console dump
nc: getaddrinfo: Name or service not known
Waiting for mysql to start
nc: getaddrinfo: Name or service not known
Waiting for mysql to start
nc: getaddrinfo: Name or service not known
Waiting for mysql to start
nc: getaddrinfo: Name or service not known
Waiting for mysql to start
nc: getaddrinfo: Name or service not known
Waiting for mysql to start
nc: getaddrinfo: Name or service not known
Waiting for mysql to start
nc: getaddrinfo: Name or service not known
Waiting for mysql to start
nc: getaddrinfo: Name or service not known
Waiting for mysql to start
nc: getaddrinfo: Name or service not known
Waiting for mysql to start
nc: getaddrinfo: Name or service not known
Waiting for mysql to start
nc: getaddrinfo: Name or service not known
Waiting for mysql to start
nc: getaddrinfo: Name or service not known
Waiting for mysql to start
nc: getaddrinfo: Name or service not known
Waiting for mysql to start
nc: getaddrinfo: Name or service not known
Waiting for mysql to start
nc: getaddrinfo: Name or service not known
Waiting for mysql to start
nc: getaddrinfo: Name or service not known
Waiting for mysql to start
nc: getaddrinfo: Name or service not known
Waiting for mysql to start
nc: getaddrinfo: Name or service not known