I am trying to setup jenkins on aws such that whenever a new build is there it create a new docker container of my project in ECS. I have tried these links-
My Jenkins machine is an EC2 instance and it is not part of ECS cluster. I have configured my pipeline as suggested in the links but I am getting the error-
Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Post
I googled about the error and it asked me to grant jenkins user access to the Docker group but my docker is in the ECS cluster where there is no jenkins user. I am kind of confused here if I am even on the right track here. Any help will be appreciated.