AWS Open Source Blog

Michael Fischer

Author: Michael Fischer

Michael Fischer is a Senior Specialist Solutions Architect focusing on AWS Container Services. He lives in Seattle and enjoys cooking, diving, and playing drums.

Demystifying ENTRYPOINT and CMD in Docker

中文版 – As you begin your Docker container creation journey, you might find yourself faced with a puzzling question: Should your Dockerfile contain an ENTRYPOINT instruction, a CMD instruction, or both? In this post, I discuss the differences between the two in detail, and explain how best to use them in various use cases you […]