Immutability prevents changes to running containers.
Docker images are immutable, meaning once an image is created, it cannot be altered. This ensures that every container instance started from the same image is identical. This immutability aids in version control and rollback strategies. For instance, a Java application packaged in a Docker image will always run with the specified version of Java and dependencies, avoiding unexpected changes.