heroku:container login returns "not logged in"
This project is for the Heroku CLI only. Use https://help.heroku.com for anything that is not specific to the CLI itself.
Do you want to request a feature or report a bug?
Bug.
What is the current behavior?
sudo heroku container:login
▸ not logged in
What is the expected behavior?
I expect to be logged in.
Here are the versions of heroku and docker
heroku version
heroku/7.42.4 linux-x64 node-v12.16.2
sudo docker version
Client:
Version: 19.03.12-ce
API version: 1.40
Go version: go1.14.4
Git commit: 48a66213fe
Built: Wed Jul 1 17:05:50 2020
OS/Arch: linux/amd64
Experimental: false
Server:
Engine:
Version: 19.03.12-ce
API version: 1.40 (minimum version 1.12)
Go version: go1.14.4
Git commit: 48a66213fe
Built: Wed Jul 1 17:05:26 2020
OS/Arch: linux/amd64
Experimental: false
containerd:
Version: v1.3.4.m
GitCommit: d76c121f76a5fc8a462dc64594aea72fe18e1178.m
runc:
Version: 1.0.0-rc91
GitCommit: 24a3cf88a7ae5f4995f6750654c0e2ca61ef4bb2
docker-init:
Version: 0.18.0
GitCommit: fec368
I am facing the exact same issue. Did you find any solution yet?
No, I haven't tried to move forward. Luckily I can wait.
You can try
mv ~/.netrc ~/.netrc.backup
and then login
sudo heroku login
sudo heroku container:login
Hi,
heroku container:login is intended to log you into the container registry, as described here: https://devcenter.heroku.com/articles/container-registry-and-runtime#getting-started .. if you follow those instructions and you still find you're not logged in, please try resetting your ~/.netrc file as described by another commenter. Please feel free to re-open if you find you are still having issues!