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’t see it when I try to create a new node later on.
I can create a new credential in the node creation “page”, but I can’t 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’t 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’s interesting, I will try that.
Thanks for your help.

1 Like

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

1 Like