Public Repository

Last pushed: 4 months ago
Short Description
jenkins container on debian jessie with docker engine
Full Description

See https://github.com/opsgang/docker_jenkins_master ...

Stable tag tries to stay updated to the version of docker used on CoreOS stable

HOWTO: ... run

# - expose http on host port 80
# - use host's docker daemon
# - use host dir /var/lib/jenkins to persist JENKINS_HOME
docker run -d --name my_jenxs \
    -p 80:8080 -p 50000:50000 \
    -v /var/run/docker.sock:/var/run/docker.sock \
    -v /var/lib/jenkins:/var/jenkins_home \
    opsgang/jenkins_master:stable

HOWTO: ... change docker gid or engine version

Write a Dockerfile e.g. for engine 1.11.2, gid 500

    # Dockerfile
    FROM opsgang/jenkins_master:stable

    USER root

    RUN apt-get update \
    && apt-get remove docker-engine \
    && apt-get install -y docker-engine=1.11.2-0~jessie
    && groupmod -g 500 docker

    USER jenkins


For more recent engine versions use:

apt-get -t jessie-backports install -y <desired version>.

Docker Pull Command
Owner
opsgang

Comments (0)