Glossary term
What is exec form (Exec form vs shell form)?
exec form stands for Exec form vs shell form.
The JSON-array way to write CMD runs your program directly as PID 1, while shell form runs it through /bin/sh.
Learn it properly · Docker & KubernetesLesson 1: Writing a Dockerfile: Layers, Caching and Small ImagesInstruction by instruction, layer caching, multi-stage builds, base image choice, .dockerignore, and a Node app image built the right way.