Skip to content

Instantly share code, notes, and snippets.

@0x4D616E75
Forked from vyta/nerdctl-for-dev-containers.md
Last active April 14, 2026 13:34
Show Gist options
  • Select an option

  • Save 0x4D616E75/c967f8227b30caea627ffb37e31b15ec to your computer and use it in GitHub Desktop.

Select an option

Save 0x4D616E75/c967f8227b30caea627ffb37e31b15ec to your computer and use it in GitHub Desktop.
Using nerdctl instead of docker for VS Code Dev Containers

nerdctl running as part of Rancher Desktop on Macos

Update the following VS Code Settings accordingly:

  • dev.containers.dockerComposePath:nerdctl compose
  • dev.containers.dockerPath:nerdctl
  • dev.containers.dockerSocketPath:/run/k3s/containerd/containerd.sock
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment