Skip to content
Errors
Commands
Flags
Config
Cheat sheets
Changes
Compat
Codes
Compare
Glossary
Search
Ctrl K
Browse
Error Messages
Commands
Flags & Options
Config Reference
Cheat Sheets
Version Changes
Compatibility
Codes & Tables
X vs Y
Glossary
All tools
Home
X vs Y
Docker
Containers & orchestration
Docker X vs Y
Container engine, CLI and image builder.
All Docker pages
Dockerfile CMD vs ENTRYPOINT: differences and when to use each
ENTRYPOINT sets the executable a container always runs; CMD sets default arguments that docker run can replace. How they combine, and exec form vs shell form.
Esc