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

Опубликовано: 01 Январь 1970
на канале: 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...  


Смотрите видео What is Jenkins? | How to Run Jenkins on a Docker Container | Understanding Docker Volumes онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Akash Kumar 01 Январь 1970, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 2,842 раз и оно понравилось 49 людям.