Skip to content

Instantly share code, notes, and snippets.

@fike
Created September 9, 2023 23:43
Show Gist options
  • Save fike/d26b50be3a004c80732c2f4e2617f7aa to your computer and use it in GitHub Desktop.
Save fike/d26b50be3a004c80732c2f4e2617f7aa 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