课程: Docker Networking: Creating, Managing, and Troubleshooting Container Networks
免费学习该课程!
今天就开通帐号,24,700 门业界名师课程任您挑!
Challenge: Custom networks and connections - Docker教程
课程: Docker Networking: Creating, Managing, and Troubleshooting Container Networks
Challenge: Custom networks and connections
(light music) - [Instructor] It is time for another challenge. In this challenge, you'll create a custom bridge network, run a container and then connect and disconnect it from the network and finally, you'll remove the network. First, create a custom bridge network and name it my_custom_bridge_network. Next, run a container named webapp. Run it in detached mode and use the Nginx image. Do not attach it to the network yet. Connect the network to the running webapp container, then disconnect the network from the running webapp container. The last step is to stop the container and remove my_custom_bridge_network. Good luck with this challenge. See you in the next video, where I'll walk you through the solution.