Can't login to google with docker container...
What happened?
docker run --rm -it us-docker.pkg.dev/gemini-code-dev/gemini-cli/sandbox:0.18.4
> Login with Google
> Logging in with Google... Restarting Gemini CLI to continue.
And just like that the container terminates.
What did you expect to happen?
A login flow, for the container not to exit immediately.
Client information
Client Information
Run gemini to enter the interactive CLI, then run the /about command.
> /about
# paste output here
Login information
No response
Anything else we need to know?
No response
@chrissound can you provide more info about your client, what os are you using?
What do you mean by client? Host OS is Nixos 22.05 ideally there would be a --verbose or some way to see the logs to figure out why it exits...
Exit code is 42:
docker run --rm -it us-docker.pkg.dev/gemini-code-dev/gemini-cli/sandbox:0.18.4
> 1. Login with Google
echo $?
42
Similar issue on FreeBSD headless system with first time login. No URL (for a manual login) or output shown. While I understand the need to be able to authenticate, a terminal app should be able to provide option for headless systems.
Was expecting to see a URL that could be loaded, then a token (or something) that could be pasted back to the terminal to confirm authentication.