What are benefits of having jenkins master in a docker container? -


i saw couple of tutorials on continuous deployment (on docker.com, on codecentric.de, on devopscube.com).

overall saw 2 approaches:

  1. set 2 types of jenkins server (master , slave). master in docker container , slave on host machine.

  2. jenkins server in docker container. set link host , using link jenkins can create or recreate docker images.

in first approach - not understand why set additional jenkins server residing inside docker container. not enough have jenkins server on host machine alongside docker container?

the second approach seems me bit insecure because process container accessing host os. have benefits?

thanks useful info.


Comments

Popular posts from this blog

Spring Boot + JPA + Hibernate: Unable to locate persister -

go - Golang: panic: runtime error: invalid memory address or nil pointer dereference using bufio.Scanner -

c - double free or corruption (fasttop) -