A) is correct. A container image is a self-contained package that includes everything needed to run an application.
B) is correct. Immutability is a core principle of container images. Once an image is built, its contents are fixed. To make changes, you need to rebuild the image.
C) is correct. Dockerfiles (and other container image build specifications) support the FROM
instruction, which allows you to base an image on another, creating layers and promoting reusability.
D) is incorrect. Container images do not automatically update. If a base image is updated (e.g., a security patch is applied to the OS), existing images built on that base image are not automatically updated. You must rebuild the images to incorporate the changes from the updated base image. This is a crucial aspect of container image management and security.