RUVIDEO
Поделитесь видео 🙏

Jenkins docker container tutorial

This video covers tutorial for Jenkins container over docker engine using docker-compose. #Jenkins #tutorials #docker #containers #docker-compose #production

In this video we will see how to run a Jenkins container over docker engine and platform and back to using the docker compose so basically there are two goals we are going to achieve by the end of this video we are going to run the Jenkins docker container for our production environment and then the second one is we are going to implement it using docker compose and then we will also discuss the benefits of using docker compose over docker run command so I have switched over to my terminal and the first thing we are going to check is whether our machine has docker engine installed or not the easiest way to identify that is we just run a command docker and if it responds with the available commands then definitely docker is installed already on to our machine if it is not installed onto your machine I recommend that you go to the documentation available at Doc's dot doc or calm install and this has pretty much very good documentation available to install docker on to various platforms let it be Mac operating system Windows or Linux step is to connect ourselves with the hub docker comm which is the repository for docker images this is going to be our source from where we are going to pull our Jenkins image to integrate with the docker hub repository we can use the command docker login if You already haven't provided the credentials before then it will ask for username and password for me it is just saying login succeeded because I have provided those credentials before now I am switching over to the docker hub and inside docker hub repository we can go to explore and with explore we can search for Jenkins related images there are many images available though this one says it is an official image of Jenkins but if you go inside this the last tag the latest image was updated around two years ago and even when you proceed and download and run this image it is definitely going to fail in loading many plugins most of those users has reported this so basically now the official image for Jenkins is Jenkins/Jenkins this is updated about a day ago and then when you go inside there is a dockable command available for this and there is a documentation also available over here if you see the tags the latest image was updated around 44 minutes ago and there are so many other tags also available for the same now we are going to do some setup at the local machine so to do that I'll just create a directory called Jenkins and then I'll change my
directory to Jenkins here I'm going to prepare my samples yaml 5 okay inside this docker compose yaml file we are going to write some statements such as the version number of docker-compose we are going to list out the services we are going to execute the name of the service we are going to run is Jenkins image that we'll use for this is Jenkins/Jenkins LTS the port's we are going to consume are port number 8080 and we are mapping the port number 8080 for my local machine with the port number 8080 of docker container which it is going to expose the another port number we are going to use is 50000 and this is for build execution purposes since we are talking about setting this up into production environment the data becomes important too that is why we will create a docker volume separately for that so in case we have to kill the container or in case we lose the container we don't lose the data along with that

Что делает видео по-настоящему запоминающимся? Наверное, та самая атмосфера, которая заставляет забыть о времени. Когда вы заходите на RUVIDEO, чтобы посмотреть онлайн «Jenkins docker container tutorial», вы рассчитываете на нечто большее, чем просто загрузку плеера. И мы это понимаем. Контент такого уровня заслуживает того, чтобы его смотрели в HD 1080, без дрожания картинки и бесконечного буферизации.

Честно говоря, Rutube сегодня — это кладезь уникальных находок, которые часто теряются в общем шуме. Мы же вытаскиваем на поверхность самое интересное. Будь то динамичный экшн, глубокий разбор темы от любимого автора или просто уютное видео для настроения — всё это доступно здесь бесплатно и без лишних формальностей. Никаких «заполните анкету, чтобы продолжить». Только вы, ваш экран и качественный поток.

Если вас зацепило это видео, не забудьте взглянуть на похожие материалы в блоке справа. Мы откалибровали наши алгоритмы так, чтобы они подбирали контент не просто «по тегам», а по настроению и смыслу. Ведь в конечном итоге, онлайн-кинотеатр — это не склад файлов, а место, где каждый вечер можно найти свою историю. Приятного вам отдыха на RUVIDEO!

Видео взято из открытых источников Rutube. Если вы правообладатель, обратитесь к первоисточнику.