Perform the following steps:
- First, let's launch an alpine container without prescribing any network option and invoke the ip address command, as shown in the following screenshot:
- Now, let's continue to launch an alpine container by attaching it to the Docker host's network stack by using --net=host as an argument and executing the ip address command, as shown in the following screenshot:
Evidently, in step 1, Docker created a network namespace for the container and assigned an IP address for the container, whereas, in ...