If I start a docker container, I can for some reason access the docker host's services if I use the host's LAN ip, eg:
docker run -it ubuntu sh -c "apt-get update && apt-get install -y netcat && nc -z 192.168.196.135 3449"
But how do I know which IP to access the host on? Running ifconfig
doesn't show any networks in the 192.x
range. What if the host is disconnected from the LAN?