I've moved to linux (pop_os 21.04) on my desktop and I'm having some issues with docker.When I'm trying to run docker-compose to pull an image from a private registry I'm getting:
ERROR: Head "https://my.registry/my-image/manifests/latest": no basic auth credentials
Of course before running this command I've ran:docker login https://my.registry.com -u user -p pass
which returns
WARNING! Your password will be stored unencrypted in /home/user/.docker/config.json.Configure a credential helper to remove this warning. Seehttps://docs.docker.com/engine/reference/commandline/login/#credentials-storeLogin Succeeded
And my config.json in my .docker folder show my credentials
{"auths": {"my.registry.com": {"auth": "XXXXX" } }}
To install docker I've followed instructions on their page https://docs.docker.com/engine/install/ubuntu/
And my version is:Docker version 20.10.8, build 3967b7d
The same command ran on a macos system with Docker version 20.10.8 runs without any issues so I my password and all the urls are correct for sure.
Thanks for any help!