A container image is a read-only template that contains all the necessary files, libraries, and dependencies to run an application.