Sign inSign up

mecodia/jenkins-dind

By mecodia

•Updated about 4 years ago

Image
0

4.0K

mecodia/jenkins-dind repository overview

⁠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

NameVersion
DebianStretch
OpenJDK8
Git2.11.0
Jenkins slave3.27
Docker18.09.6
docker-cmpose1.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

Tag summary

Content type

Image

Digest

sha256:917346f95…

Size

250.4 MB

Last updated

about 4 years ago

docker pull mecodia/jenkins-dind