https://garden.io logo
#🌱|help-and-getting-started
Setting command skips entrypoint?
# 🌱|help-and-getting-started
r

rough-kilobyte-44808

06/07/2023, 6:59 PM
It appears that if I set a command in my garden config, the entrypoint specified by the image is skipped entirely. Is this known behavior? How do you get it to not skip the entrypoint?
Ah, found an answer to my own question: https://github.com/garden-io/garden/issues/539
"In container modules, however, the term "command" corresponds to the k8s command field (which is called ENTRYPOINT in Dockerfiles), and the term "args" corresponds to the k8s args field (which is called CMD in Dockerfiles). In short, we went with the k8s terminology here."
b

bright-policeman-43626

06/08/2023, 4:38 AM
Thanks a lot for sharing the answer for everyone to see!