itga / jnlp-slave-alpine-docker

JNLP slave running alpine with docker.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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 \
    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

About

JNLP slave running alpine with docker.


Languages

Language:Dockerfile 100.0%