-
Ask a Question!I have install docker desktop with Portainer extension. I have an agent connect to my portainer server. Do I need to set additional parameters for this extensions? I'm kinda stuck on this problem and I try to work around the UI. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Beta Was this translation helpful? Give feedback.
Hello,
You could try the following method.
Enable "Show Docker Extensions system containers" in settings
Containers > View Details > View Configurations > Open in IDE > Add the variable AGENT_SECRET: "yoursecret" under environment, save and refresh
With above changes in place, I was able to create an agent and connect it to Docker desktop > Portainer extension.
In my case, the agent was also running in WSL2 Ubuntu. Depending on where your agent is running, you will have to get the network communication to work.
cheers,
yajith