-
Notifications
You must be signed in to change notification settings - Fork 694
Closed
Labels
Description
Hello, I would like to try to use nerdctl
with VSCode. When VSCode starts, it checks for Docker with:
[342501 ms] Remote-Containers 0.194.3 in VS Code 1.60.2 (7f6ab5485bbc008386c4386d08766667e155244e).
[342501 ms] Start: Run: docker version --format {{.Server.APIVersion}}
[342637 ms]
[342638 ms] Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
My first thought was to point VSCode to point to lima nerdctl
by using an environment variable to sub out docker
. But this command gives the error of:
$ lima nerdctl version --format {{.Server.APIVersion}}
FATA[0000] template: :1:9: executing "" at <.Server.APIVersion>: can't evaluate field APIVersion in type *dockercompat.ServerVersion
Is there a current way to make VSCode work with nerdctl
? If not, what needs to be done?
sanmai-NL and RedAtman