Amazon interview question

Whats different from Docker entrypoints and CMD