icereed/jenkins-swarm-slave-docker
A Jenkins swarm slave.
To run a Docker container passing any parameters to the slave
docker run icereed/jenkins-swarm-slave-docker -master http://jenkins:8080 -username jenkins -password jenkins -executors 1
Linking to the Jenkins master container there is no need to use --master
docker run -d --name jenkins -p 8080:8080 icereed/jenkins-swarm-slave-docker
docker run -d --link jenkins:jenkins icereed/jenkins-swarm-slave-docker -username jenkins -password jenkins -executors 1
docker build -t icereed/jenkins-swarm-slave-docker .