Skip to content

🐳 πŸ‘΄ Jenkins Docker-in-Docker with Node.js 8.x pre-installed.

License

Notifications You must be signed in to change notification settings

Leelow/jenkins-dind-nodejs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

9 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

jenkins-dind-nodejs

Travis Status Docker Status

Usage

Pull image

docker pull leelow29/jenkins-dind-nodejs

(Optional) Create a directory for the jenkins volume

mkdir /srv/jenkins
chmod 0666 /srv/jenkins

Create and run a container

docker run --name jenkins --privileged -d -p 127.0.0.1:8080:8080 -v /srv/jenkins:/var/jenkins_home jenkins-dind-nodejs:latest

Note: the flag --priviledged is necessary to be able to use docker from the container.

In this example, the jenkins web interface is available at http://127.0.0.1:8080. If you want to login as admin, you can get the initial admin password typing the following command:

docker exec jenkins cat /var/jenkins_home/secrets/initialAdminPassword

Build

git clone https://github.com/Leelow/jenkins-dind-nodejs.git
cd jenkins-dind-nodejs
docker build -t jenkins-dind-nodejs .

License

MIT

About

🐳 πŸ‘΄ Jenkins Docker-in-Docker with Node.js 8.x pre-installed.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published