Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When try to use login on docker, snap does not look in the right folder to get config.json. #18

Open
sharkguto opened this issue Jan 7, 2021 · 3 comments

Comments

@sharkguto
Copy link

When I try to authenticate on aws ECR, I am able to login however when I pull the image, it always show not authenticated.

val $(aws ecr get-login --no-include-email --region us-east-1)

What I did is to create a symbolic link on folder, as the following command:

ln -s /home/gustavo2/snap/docker/current/.docker/ /home/gustavo2/.docker

Is it possible to implement it as default, when we issue command sudo snap install docker ?

@twogood
Copy link

twogood commented Jan 10, 2021

I had to do the same thing for Google Container Registry (gcr) so I second this issue! But then I got docker.credentials.errors.InitializationError: docker-credential-gcloud not installed or not available in PATH. Will post separate issue about that.

@twogood
Copy link

twogood commented Jan 10, 2021

See also #12 about ~/.docker

@Fuseteam
Copy link

well i had the opposite issue of cli-plugins not being loaded from ~/.docker lol

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants