I fixed this by uninstalling VSCode and re-installing by downloading from VSCode's download page. As hinted eslewhere, the FLATPAK install is to blame. See Fuji's reply in Failed to connect. Is Docker running? (Vs Code)