CMD vs ENTRYPOINT?
IntermediateConceptDocker
Answer
ENTRYPOINT is the fixed executable. CMD gives default arguments that docker run image <args> replaces. Together: ENTRYPOINT ["python","app.py"] with CMD ["--port","8000"].
ENTRYPOINT is the fixed executable. CMD gives default arguments that docker run image <args> replaces. Together: ENTRYPOINT ["python","app.py"] with CMD ["--port","8000"].