Category: Data, Docker, Jenkins, container, github, automation, shell

Git: To Obtain the code that the developer commits and if needed in future anyone can modify the developer code. Docker: Docker another tool designed to make it easier to create, deploy, and run applications by using containers in a loosely isolated environment.

Now, we will launch this image so that it will automatically start our Jenkins service in the container.

it is for the interactive terminal, — privileged is for giving permission to access outside world from docker, -p is for patting if we want to run our Jenkins from outside world i.e. from our windows.

It will check every minute whether container image is present if not it will run the container again.

Related Articles