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