Welcome to the Linux Foundation Forum!

Unable to open dev container in VSCode with default prompt on the initial setup

Dears,

I am trying to start with the Lab and the very first thing for setup is failing.

As per the steps:
1. Clone git repo --> Done
2. Install the Vscode and download Dev Container extension --> done
3. get into LFS Directory and run code ./ command to open the vsCode in this directory --> Done
4. The pop up to open the dev container in vscode will show and click on proceed --> done

At this step while it is trying to download the Dev Container related images, I am getting below error in VsCode terminal:

"error during connect: Post "http:////./pipe/dockerDesktopLinuxEngine/v1.47/images/create?fromImage=ghcr.io/lftraining/lfs148-code-application&tag=latest": open //./pipe/dockerDesktopLinuxEngine: The system cannot find the file specified.
"

Unable to find the solution for this, though I tried to logout ghcr.io but did not work.

While I already tried to logout from ghcr.io and it worked perfectly to remove my credentials but again running the docker pull command is not working as expected.

Answers

  • Now I Manged to resolve this and this was because of having the multiple Docker version and product. Like I had podman docker and docker desktop which was creating conflict for Microsoft to pick which 1 to choose. When I uninstalled every other setup and then restarted the same then at-least I was able to download all the images.

Categories

Upcoming Training