docker run arguments replaced the whole command: CMD vs ENTRYPOINT override rules
Passing --workers 4 to docker run crashed the container with exec: "--workers": executable file not found. Arguments after the image name replace CMD entirely; they do not append. We explain the override rules in Docker, Compose and Kubernetes and the image layout that makes extra flags safe.