mountebank
mountebank copied to clipboard
`Dockerfile` manifest should make use of `ENTRYPOINT["mb"]` instead
While trying Mountbank via Docker, I believe the manifest should make use of ENTRYPOINT instead of CMD["mb"]; e.g.: ENTRYPOINT["mb"].
Can you share a bit more detail? What would that solve/prevent?
In short, CMD defines default commands and/or parameters for a container. In my experience, I use CMD to default command(s) which users can easily override. In a different situation, ENTRYPOINT is used when defining a specific executable for a container.
Since mb is a must, then ENTRYPOINT makes more sense, and users, if desired, can pass more parameters to it.
Make sense, thanks.
On Mon, Jul 18, 2022 at 5:59 AM x80486 @.***> wrote:
In short, CMD defines default commands and/or parameters for a container. In my experience, I use CMD to default command(s) which users can easily override. In a different situation, ENTRYPOINT is used when defining a specific executable for a container.
Since mb is a must, then ENTRYPOINT makes more sense, and users, if desired, can pass more parameters to it.
— Reply to this email directly, view it on GitHub https://github.com/bbyars/mountebank/issues/671#issuecomment-1187071466, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAARFPYV2YQHFWVCKUQWF4LVUU2INANCNFSM5SDXWM4Q . You are receiving this because you commented.Message ID: @.***>