New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
entrypoint and empty cmd #2072
Comments
@noteed Well in your first example an empty array is not the same thing as a nil array. |
@crosbymichael Ok, but still, shouldn't they work the same way ? It is weird you cannot use CMD explicitely to provide no default arguments. |
Tagged as an easy fix |
This should be fixed by #2266. |
This is a special case of resetting a property inherited from the base image. That generic case is handled in #3465. Closing this in favor of the more generic version. |
This is similar to #1405, but instead of specifying entrypoint and not cmd, it is with specifying both of them but with cmd [].
I.e.
ENTRYPOINT ["echo"]
and
ENTRYPOINT ["echo"]
CMD []
should both work identically (the second doesn't work).
The text was updated successfully, but these errors were encountered: