Haufe Group Interview Question

In Docker what's the difference between CMD, ENTRYPOINT and RUN