Skip to content

Cannot login in docker container #940

@lorenz-mcroonenbroeck

Description

@lorenz-mcroonenbroeck

Describe the bug

I can't login into copilot, from a node22 docker container hosted on Windows 11 via docker desktop.

The login seems to be stuck. I authorized vai the url and device codesuccessfully after running the /login command, but nothing is happening and I'm stuck with "Waiting for authorization".

The browser didn't open automatically therefore I did it manually as proposed by the error message.

It worked in the past using 0.0.360 without issues. The issue occured after I updated to the latest version. I tried to downgrade again but now it even seems to be broken for 0.0.360.

Affected version

0.0.377

Steps to reproduce the behavior

  • Create a docker container with node and copilot installed
  • execute /login and login successfully
  • stuck...

Expected behavior

login is not stuck

Additional context

Host: Windows 11
Docker: Docker Desktop
Docker base Image: node:22-slim
Tested with Shells: powershell, git bash, docker desktop integrated terminal window

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions