Varshini S
asked on
why docker command not returning IP address?
Following command Not returning any IP address it just returns an empty string
docker inspect --format '{{.NetworkSettings.Networ ks.nat.IPA ddress}}' sql2
empty.PNG
docker inspect --format '{{.NetworkSettings.Networ
empty.PNG
ASKER
Nope, i have got the empty string
What container are you running?
ASKER
microsoft/mssql-server-win dows-expre ss:latest
Busy pulling
ASKER
docker pull microsoft/mssql-server-win dows-expre ss
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
i have used the below command to connect to the network
docker network connect multi-host-network sql2
docker network connect multi-host-network sql2
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Open in new window