I use this image: dperson/samba
The image is defining it\'s own entrypoint and I do not want to override it.
I need to pass arguments to the entrypoint, easy
I was facing the same issue with jenkins ssh slave 'jenkinsci/ssh-slave'. However, my case was a bit complicated because it was necessary to pass an argument which contained spaces. I've managed to do it like below (entrypoint in dockerfile is in exec form):
command: ["some argument with space which should be treated as one"]