jenkins and gitlab are containers under docker. Adding git warehouse under jenkins is shown in figure
.
ssh keyjenkinssshgitlabjenkinsgit clone
cloneclone
there are several questions:
1. Should the ssh public and private keys of the container be the same as the host?
2. Is it related to the user of the container? Because the jenkins user used for the jenkins container
3. How should I investigate the cause now?