This is a known issue, but I want to document it properly and gather feedback from others to narrow it down.
When using "Login with Google", gemini-cli becomes completely unresponsive after entering the authorization code:
- No keyboard input is accepted anymore
Ctrl+C does not terminate the process
- The only way to stop it is from the outside via
docker stop <container_name>
If the Gemini home directory is persisted via a Docker volume, restarting a new container works fine afterward; authentication was successful and gemini-cli can be used normally.
Observed in the following setup:
- Windows PowerShell
- SSH into a Linux host
- Starting a gemini container with the cli option
I'm currently not sure:
- what exactly causes the freeze
- whether this happens in all environments
- whether this is image-specific or a general
gemini-cli issue
Request for feedback
If you:
- experience the same issue (with this image or independently)
- do not experience the issue despite using this image
- have insights into terminal / TTY / stdin handling during OAuth flows
please comment here. Any data point helps to narrow this down.
This is a known issue, but I want to document it properly and gather feedback from others to narrow it down.
When using "Login with Google",
gemini-clibecomes completely unresponsive after entering the authorization code:Ctrl+Cdoes not terminate the processIf the Gemini home directory is persisted via a Docker volume, restarting a new container works fine afterward; authentication was successful and
gemini-clican be used normally.Observed in the following setup:
I'm currently not sure:
gemini-cliissueRequest for feedback
If you:
please comment here. Any data point helps to narrow this down.