Questions
To assess the skills that you have gained from this chapter, please try to answer the following questions:
- Name the three core elements of the container network model (CNM).
- How do you create a custom
bridge
network called, for example,frontend
? - How do you run two
nginx:alpine
containers attached to the frontend network? - For the frontend network, get the following:
- The IPs of all the attached containers
- The subnet associated with the network
- What is the purpose of the
host
network? - Name one or two scenarios where the use of the
host
network is appropriate. - What is the purpose of the
none
network? - In what scenarios should the
none
network be used? - Why would we use a reverse proxy such as Traefik together with our containerized application?