Description
sbx login completes the browser authentication flow successfully but then fails when attempting to save credentials, with the error:
ERROR: auth login failed: saving credentials: Object does not exist at path "/"
This is a regression — sbx login worked correctly on the same machine with v0.30.0.
Environment
- OS: Ubuntu 24.04 (Noble) running under WSL2 on Windows
- sbx version (broken): 0.31.0-1
ubuntu.24.04noble
- sbx version (working): 0.30.0-1
ubuntu.24.04noble
- Install method:
curl -fsSL https://get.docker.com | sudo REPO_ONLY=1 sh && sudo apt-get install docker-sbx
Steps to reproduce
- Install
docker-sbx v0.31.0 on WSL2 Ubuntu 24.04
- Run
sbx login
- Complete the browser device auth flow (code displayed, URL opened, authentication succeeds)
- Observe error when credentials are saved
Actual behavior
WARN: unknown authentication error type encountered: retrieve default account metadata: Object does not exist at path "/"
Your one-time device confirmation code is: XXXX-XXXX
Open this URL to sign in: https://login.docker.com/activate?user_code=XXXX-XXXX
Waiting for authentication...
ERROR: auth login failed: saving credentials: Object does not exist at path "/"
Expected behavior
Credentials are saved successfully after completing the auth flow, as they were in v0.30.0.
Workaround
Downgrading to v0.30.0 resolves the issue:
sudo apt-get install docker-sbx=0.30.0-1~ubuntu.24.04~noble
sudo apt-mark hold docker-sbx
Additional context
~/.docker/config.json has "credsStore": "" (explicitly cleared to rule out credential helper issues)
~/.sbx and ~/.config/com.docker.sandboxes/ were both deleted and recreated fresh — issue persists
- WSL2 does not have a D-Bus secret service / keyring daemon running, which may be related to the root cause if v0.31.0 changed how credentials are stored
Description
sbx logincompletes the browser authentication flow successfully but then fails when attempting to save credentials, with the error:This is a regression —
sbx loginworked correctly on the same machine with v0.30.0.Environment
ubuntu.24.04nobleubuntu.24.04noblecurl -fsSL https://get.docker.com | sudo REPO_ONLY=1 sh && sudo apt-get install docker-sbxSteps to reproduce
docker-sbxv0.31.0 on WSL2 Ubuntu 24.04sbx loginActual behavior
Expected behavior
Credentials are saved successfully after completing the auth flow, as they were in v0.30.0.
Workaround
Downgrading to v0.30.0 resolves the issue:
Additional context
~/.docker/config.jsonhas"credsStore": ""(explicitly cleared to rule out credential helper issues)~/.sbxand~/.config/com.docker.sandboxes/were both deleted and recreated fresh — issue persists