Troubleshooting - ravipal/vscode-docker GitHub Wiki
I'm on Linux and get the error "connect EACCES /var/run/docker.sock"
Since VS Code runs as a non-root user, you will need to follow the steps in "Manage Docker as a non-root user" from Post-installation steps for Linux for the extension to be able to access docker.