![]() In addition to IP addresses, ports are a critical part of Docker networking basics. However, all communication still goes through the host, so requires mapping at the host level for any external communication. This approach enables the administrator to configure network details, such as subnets and gateways. For example:Ī more complex example - as cited on Docker's website - is: To connect and use the network, provide the network type and name via the command line interface. Use the command below, specifying the driver to manage the network, which defaults to bridge.ĭocker network create -driver bridge newnet ![]() With the Ubuntu net-tools package installed, the admin can access basic network connectivity, IP address configuration and other aspects of the network setup, as shown in Figure 3.Īfter those steps are complete, the admin can create a new network on that bridge. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |