Jenkins JNLP Slave
This image is based on jenkins/jnlp-slave running alpine with docker binaries.
Usage
To run a Docker container and be allowed to use docker binaries, you have to bind mount the host's sock to the container:
docker run \
-v /var/run/docker.sock:/var/run/docker.sock \
joao29a/jnlp-slave-alpine-docker -url http://jenkins-server:port <secret> <agent name>
If you don't have enough permission, run:
docker run \
-u root \
-v /var/run/docker.sock:/var/run/docker.sock \
joao29a/jnlp-slave-alpine-docker -url http://jenkins-server:port <secret> <agent name>
For a more detailed documentation, access jenkins/jnlp-slave