Install Jenkins on Ubuntu 14.04
https://wiki.jenkins-ci.org/display/JENKINS/Installing+Jenkins+on+Ubuntu-
Install Docker
https://docs.docker.com/engine/installation/linux/ubuntulinux/#/prerequisites-by-ubuntu-version
Include Jenkins user to docker
//Add the docker group if it doesn't already exist.
sudo groupadd docker
//Add the connected user "${USERNAME}" to the docker group.
sudo gpasswd -a ${USER} docker
sudo usermod -aG docker jenkins