Allow --entrypoint to occur in more places during `docker run` command, just like other docker run flags
Please allow --entrypoint to be successfully processed at the end of docker run... commands, just like other docker run flags.
Hi @mcandre , can you give more information about this change? Provide some examples, what currently run or not, and your desired behavior.
Example: docker container run --rm --entrypoint top --entrypoint -b ubuntu gives this error: docker: Error response from daemon: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: exec: "-b": executable file not found in $PATH: unknown. instead of running the command top -b using the image ubuntu. Running the image built from a Dockerfile with the same entrypoint array would also do run the same command top -b.