What is Jenkins? | How to Run Jenkins on a Docker Container | Understanding Docker Volumes

Published: 01 January 1970
on channel: Akash Kumar
2,842
49

Agenda:
What and Why Jenkins
Installing Jenkins using Docker Images
Understanding Docker volumes
Binding volumes mount to running containers

What is Jenkins | Why do we Use Jenkins

Jenkins – an open source automation server which enables developers around the world to reliably build, test, and deploy their software.

Few of the features that Jenkins provide:

Continuous Integration
Continuous Building
Continuous Deployment/Delivery
Continuous Testing
Continuous Monitoring
Configuration Management

Installing Jenkins using Docker Images

Jenkins Official Image: jenkins/jenkins: latest

Command to run docker image and install Jenkins:
docker run –d -p 50000:50000 -p 8080:8080 jenkins/jenkins:lts

Understanding Docker volumes

Volumes are the preferred mechanism for persisting data generated by and used by Docker containers. 

Volumes are easier to back up or migrate.
You can manage volumes using Docker CLI commands or the Docker API.
Volumes can be more safely shared among multiple containers.
-v or --volume or --mount flag is used for standalone containers

Syntax to user docker volumes:
docker run -p 8080:8080 -p 50000:50000 -v $PWD/jenkins:/var/jekins_home jenkins/jenkins

Video on how to install Docker in Linux Environment:

   • How to Install and Use Docker | Docke...  


Watch video What is Jenkins? | How to Run Jenkins on a Docker Container | Understanding Docker Volumes online without registration, duration hours minute second in high quality. This video was added by user Akash Kumar 01 January 1970, don't forget to share it with your friends and acquaintances, it has been viewed on our site 2,842 once and liked it 49 people.