- Shell form: exec param
- Exec form: ["exec", "param"]
No ENTRYPOINT | ENTRYPOINT e0 p0 | ENTRYPOINT ["e0", "p0"] | |
---|---|---|---|
No CMD | error | /bin sh -c e0 p0 | e0 p0 |
CMD ["e1", "p1"] | e1 p1 | /bin sh -c e0 p0 | e0 p0 e1 p1 |
CMD ["p1", "p2"] | p1 p2 | /bin sh -c e0 p0 | e0 p0 p1 p2 |
CMD e1 p1 | /bin sh -c e1 p1 | /bin sh -c e0 p0 | e0 p0 /bin sh -c e1 p1 |