I am creating a docker image in alpine and adding a CMD at the end, The image builds sucessfully, but when aI go to run the image:
CMD ["echo", "some text"] --- last line of image
error
/bin/sh: echo,: not found
Tried making it /bin/echo, but still get the same error. Do I need to start an interactive shell (docker run -it image /bin/sh). Thank you :).
/bin/sh: /bin/echo,: not found