Creating and using a credential while using Docker

Hello there, :wave:
I am using this docker compose file: quickstart-tutorials/docker-compose.yaml at 28bfe3aff62ef4c8384fb6f6069a102e72181482 路 gounthar/quickstart-tutorials 路 GitHub .
I start the wizard profile with docker compose --profile wizard up .
The Jenkins controller starts normally, the UI goes through the wizard.
Everything goes fine until I create an SSH username/private key.
It seems to be stored correctly, and can be seen in the UI in Manage Jenkins/Credentials.

Unfortunately, I can鈥檛 see it when I try to create a new node later on.
I can create a new credential in the node creation 鈥減age鈥, but I can鈥檛 use it either.
I have to stop my docker services, restart them the same way, and then I can use the credentials to connect my new node.

I can鈥檛 see any logs saying there is a problem.
What could I have missed?

Thanks. :pray:

Hi, Just set up the env and tried to create credentials and use it to run boot an agent. And everything seems ok to me鈥

1 Like

Thank you so much for trying.
I have the same problem on another machine, so the problem is not my machine. :thinking:

Oh, sorry I made a mistake. I used the main branch in the first setup. It indeed can not show the credentials using the hash 28bfe3. The credentials shows after I install the plugin ssh Agent.

1 Like

That鈥檚 interesting, I will try that.
Thanks for your help.

1 Like

That was it, thank you so much for your help. :hugs:

1 Like