When I run the id command from the agent, I get this:
+ /usr/bin/hostname debian-podman /usr/bin/id uid=1001(jenkins) gid=1001(jenkins) groups=1001(jenkins)
However, when I do the same command from the terminal, I get this:
jenkins@debian-podman:~$ id uid=1001(jenkins) gid=998(docker) groups=998(docker)
I am trying to execute docker commands. From the terminal, commands are working fine, but not from the agent.
Any ideas what I can change to have proper groups?