I have setup a build pipeline in jenkins using the build pipeline plugin. The second step of the pipeline is to deploy to a dev environment. As I have micro services, I want to deploy each micro service in a docker container.
I have manually configured the container already to run these microservices but now I want to automate the process and each successful checkin should update the code in the container and restart it.
I tried to use the docker plugin for jenkins and it has an option "Commit container change" which I was hoping will do exactly the same but I cant get this work.
https://wiki.jenkins-ci.org/display/JENKINS/Docker+build+step+plugin
Any ideas on how to setup this up.