Skip to content

A JNLP Slave Docker image with docker and docker-compose installed.

License

Notifications You must be signed in to change notification settings

yanqd0/jnlp-dind-slave

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Jenkins JNLP Slave with Docker in Docker

A JNLP Slave Docker image with docker and docker-compose installed.

Install

Build Status Docker Build Status Docker Stars Docker Pulls

docker pull yanqd0/jnlp-dind-slave

Usage

You can either connect via the Docker socket like this:

docker run \
    -v /var/run/docker.sock:/var/run/docker.sock \
    --rm \
    --entrypoint bash \
    yanqd0/jnlp-dind-slave \
    -c 'docker version'

Or better, connect to some external Docker deamon via TCP:

docker run --rm --name dind -d --privileged --net host docker:dind
docker run \
    --rm \
    -e DOCKER_HOST=localhost \
    --net host \
    --entrypoint bash \
    yanqd0/jnlp-dind-slave \
    -c 'docker version'

There is a reference file docker-compose.yml, which is not working directly.

Version

Name Version
Debian Stretch
OpenJDK 8
Git 2.11.0
Jenkins slave 3.27
Docker 18.09.6
docker-cmpose 1.24.0

It is welcome to remind me to update by issues.

License

License

This repository is forked from ninech/jnlp-slave-with-docker, which is not maintained.

Copyright (c) 2018~2019 Yan QiDong

Copyright (c) 2018 nine

About

A JNLP Slave Docker image with docker and docker-compose installed.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Dockerfile 100.0%