I have some doubts with Docker Build Steps plugin (
https://wiki.jenkins-ci.org/display/JENKINS/Docker+build+step+plugin). Using this plugin we can create container from image and start the same container as well. However I am stuck at one place, whenever I try to create any container then try to start it, the container exists immediately. The only success I got while I installed openssh server in the container and then pass the command as /bin/sshd -D, is it the correct way to do it ? we might have some other CMD as running some process like executing some js file for node js container while it starts, what approach should be appropriate for this?