After reading several articles on the continuous integration of docker and jenkins, it was in docker that a jenkins was started.
Leaving jenkins in the docker is very complicated and doesn’t feel good either. Why do you want to ask?
I used to put jenkins in docker before, but later found out it was extremely troublesome. Because docker is suitable for light-dependent applications, applications such as jenkins, which are very heavily dependent, are not suitable for being placed in docker at all.