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
bridgenetwork called, for example,frontend? - How do you run two
nginx:alpinecontainers 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
hostnetwork? - Name one or two scenarios where the use of the
hostnetwork is appropriate. - What is the purpose of the
nonenetwork? - In what scenarios should the
nonenetwork be used? - Why would we use a reverse proxy such as Traefik together with our containerized application?