title: VS-code Reopen in container -> ERROR: .PermissionError: [Errno 13] Permission denied
body: <p>Hi I'm trying to open my container in VS-code.</p>
  <p>Info:</p>
  <ol>
  <li>OS: Ubuntu 20.04.4 LTS</li>
  <li>Docker version 20.10.13</li>
  <li>docker-compose version 1.29.2</li>
  <li>VS-Code version: 1.65.2</li>
  </ol>
  <p>My user has the docker group.</p>
  <p>Containers are starting correctly with no issues.</p>
  <p>I have tried setting <code>sudo chmod 777 /var/run/docker.sock</code></p>
  <p>I have rebooted and re-installed every signle one of the above software (except for the OS)
  But when I try to use the Reopen in container vscode (using the remote containers extension) I get the following error: <code>ERROR: .PermissionError: [Errno 13] Permission denied: '/home/&lt;my_user&gt;/.config/Code/User/globalStorage/ms-vscode-remote.remote-containers/data/docker-compose/docker-compose.devcontainer.containerFeatures-1647440854887.yml'</code></p>
  <p>The Dockerfile and other .yml files do not set docker to use a different user.
  The file is generated by the extension itself with <code>-rw-rw-r--</code> permissions.
  Starting the containers outside of vs works flawlessly.</p>
  <p>Full command:</p>
  <p><code>docker-compose --project-name &lt;name&gt; -f /home/&lt;my_user&gt;/repos/&lt;my_repo&gt;/.devcontainer/vscode.yml -f /home/&lt;my_user&gt;/.config/Code/User/globalStorage/ms-vscode-remote.remote-containers/data/docker-compose/docker-compose.devcontainer.containerFeatures-1647441870900.yml up -d</code></p>