While running a docker image named bobo:net
with a python 3 script service.py
:
docker run --entrypoint=python3 bobo:net service.py
Why is the image name specified in the middle of the actual command that is being ran?
Is the entrypoint only python3
?
Why can't it simply be python3 service.py
What are the differences between entrypoint and command and what goes where?