rogaha/jnlp-slave-docker

By rogaha

Updated about 7 years ago

Image
1

235

rogaha/jnlp-slave-docker repository overview

Jenkins JNLP Slave

Docker Stars Docker Pulls Docker Automated build

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 \
    rogaha/jnlp-slave-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 \
    rogaha/jnlp-slave-docker -url http://jenkins-server:port <secret> <agent name>

For a more detailed documentation, access jenkins/jnlp-slave

Tag summary

Content type

Image

Digest

Size

157.8 MB

Last updated

about 7 years ago

docker pull rogaha/jnlp-slave-docker