![]() This is simple, convenient and performant. So, effectively, the container has the same network configuration as the host. This is precisely the same network configuration that you’d see on the host. Now we can check on what the network configuration looks like in the container. It’s a very lightweight image, so we need to install some networking tools. Now we’re the root user inside the container. docker run -it -net=host google-selenium /bin/bash ![]() We’ll run a BASH shell using the scraper image. To learn a little more about using the host network with Docker, let’s scratch beneath the surface.
0 Comments
Leave a Reply. |