A quick and easy method to find the IP address of a container from the host can be achieved by running:
docker inspect --format '{{ .NetworkSettings.IPAddress }}' ${CID}
Share and learn in the Docker community.
A quick and easy method to find the IP address of a container from the host can be achieved by running:
docker inspect --format '{{ .NetworkSettings.IPAddress }}' ${CID}