Chapter 2, Building Container Images
Here are some sample answers to the questions presented in this chapter:
- False; it is used to add metadata to the image.
- You can append
CMD
toENTRYPOINT
, but not the other way around. - True.
- Snapshotting a failing container so that you can review it away from your Docker host.
- The
EXPOSE
instruction exposes the port on the container, but it does not map a port on the host machine.