I created an Azure DevOps agents based on the Ubuntu image that can be found here: https://github.com/Microsoft/azure-pipelines-image-generation
After I deployed the machine and installed the agent (see https://docs.microsoft.com/en-us/azure/devops/pipelines/agents/v2-linux?view=vsts) I ran a Docker task and got the following error:
dial unix /var/run/docker.sock: connect: permission denied
What do I have to do to get the Docker task executed successfully?