Skip to content

Instantly share code, notes, and snippets.

@AlexeySetevoi
Forked from fike/rancher_desktop_wsl.md
Created February 24, 2026 11:46
Show Gist options
  • Select an option

  • Save AlexeySetevoi/043a49f636c578b8f5423d98a74da2da to your computer and use it in GitHub Desktop.

Select an option

Save AlexeySetevoi/043a49f636c578b8f5423d98a74da2da to your computer and use it in GitHub Desktop.
Issues to run Rancher Desktop on WSL2

Debian and derivates on WSL2 (Windows 11) can have issues running docker distributed by Rancher Desktop. If you have error messages like the below, install dependencies to fix that.

"docker-credential-secretservice: error while loading shared libraries: libsecret-1.so.0" or "error getting credentials - err: exit status 1, out: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.secrets was not provided by any .service files"

or that

"error getting credentials - err: exit status 1, out: `Failed to execute child process "dbus-launch"

Install libsecret, dbus and keyring packages:

sudo apt install libsecret-1-0 dbus-x11 && sudo apt install gnome-keyring --no-install-recommends

get wrong

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment