wiki:WikiStart/BuildServer/DockerChroot

Version 4 (modified by stpl01, 5 years ago) (diff)

--

Get docker runnig on the host

follow: https://wiki.jenkins-ci.org/display/JENKINS/Docker+Plugin (without ssh setup)

add the host jenkins user to the docker group

http://askubuntu.com/questions/477551/how-can-i-use-docker-without-sudo

inside, install wget and java apt-get update apt-get install wget openjdk-7-jre

commit it to a new node name

to run the slave manage the jenkins nodes and add the line

docker run -i -v /data/jenkins:/data/jenkins ubuntu_1404_v1 /data/jenkins/build_scripts/jenkins_docker_slave