Skip to content

Learning jenkins, basic to hero concepts!! using docker environment

Notifications You must be signed in to change notification settings

jcmdsbr/jenkins-docker-learning

Repository files navigation

Jenkins Learning 😎

  • Learning jenkins, basic to hero concepts!! using docker environment

Give a Star! ⭐

If you liked the project, please give a star ;)

Run with docker ❗

docker run -p 8080:8080 -p 50000:50000 \
-v /var/jenkins_home:/var/jenkins_home \ 
-v /var/run/docker.sock:/var/run/docker.sock \
-d --name jenkins jcmds/jenkins-docker:latest

# docker run -d --name jenkins -u root  --net=host -p 8080:8080 -v /data/jenkins:/var/jenkins_home -v /var/run/docker.sock:/var/run/docker.sock

GET Secrets Password 🔑

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

Run with docker compose 🚧

 docker-compose -f "docker-compose.yml" up -d --build

CHMOD in docker.sock

sudo chmod 777 /var/run/docker.sock

About

Learning jenkins, basic to hero concepts!! using docker environment

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published