-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Compose fails to use registry credentials #22682
Comments
Hi @birla ! TLDR; Delete I'm unable to reproduce the exact issue, but I have a feeling that it's because of your I actually encountered a different issue which made me look at https://stackoverflow.com/questions/67642620/docker-credential-desktop-not-installed-or-not-available-in-path After I deleted This was the compose file I used: services:
redis-leader:
container_name: redis-leader
image: redis:latest
ports:
- "6379"
redis-replica:
container_name: redis-replica
image: redis:latest
ports:
- "6379"
command: redis-server --replicaof redis-leader 6379
web:
container_name: web
image: docker.io/cdrage/foobar
ports:
- "8080:8080" Note that Let me know if this fixes your issue. |
### What does this PR do? Adds a troubleshooting document for Compose related to authentication. ### Screenshot / video of UI N/A, see markdown / website. ### What issues does this PR fix or reference? Part of https://github.com/containers/podman-desktop/issues/6809 ### How to test this PR? N/A, preview site. Signed-off-by: Charlie Drage <charlie@charliedrage.com>
### What does this PR do? Adds a troubleshooting document for Compose related to authentication. ### Screenshot / video of UI N/A, see markdown / website. ### What issues does this PR fix or reference? Part of https://github.com/containers/podman-desktop/issues/6809 ### How to test this PR? N/A, preview site. Signed-off-by: Charlie Drage <charlie@charliedrage.com>
### What does this PR do? Adds a troubleshooting document for Compose related to authentication. ### Screenshot / video of UI N/A, see markdown / website. ### What issues does this PR fix or reference? Part of https://github.com/containers/podman-desktop/issues/6809 ### How to test this PR? N/A, preview site. Signed-off-by: Charlie Drage <charlie@charliedrage.com>
### What does this PR do? Adds a troubleshooting document for Compose related to authentication. ### Screenshot / video of UI N/A, see markdown / website. ### What issues does this PR fix or reference? Part of https://github.com/containers/podman-desktop/issues/6809 ### How to test this PR? N/A, preview site. Signed-off-by: Charlie Drage <charlie@charliedrage.com>
### What does this PR do? Adds a troubleshooting document for Compose related to authentication. ### Screenshot / video of UI N/A, see markdown / website. ### What issues does this PR fix or reference? Part of https://github.com/containers/podman-desktop/issues/6809 ### How to test this PR? N/A, preview site. Signed-off-by: Charlie Drage <charlie@charliedrage.com>
Hi @cdrage! Thank you for getting back. As you correctly deduced, I did have Docker Desktop installed before my foray with Podman Desktop. I also faced the same issue with Today, I tried removing Let me know if I can provide further diagnosis / log files from my system to reproduce this. My team and I are all facing this issue. |
Is there any way you can tell me which private registry? Is it an internal registry / self hosted or cloud? Trying to replicate this against quay.io / docker hub I'm unable to reproduce. |
I am using Azure Container Registry, will try with a public one and get back to you. |
@cdrage, tried with Docker Hub, using a private image, and a docker compose file. I am able to reproduce the issue, below is the log:
Subsequently, pulling the image directly seems to work:
|
@cdrage , just installed podman-compose, and it was able to pull from both Docker Hub and Azure Container Registry without any issue using the command |
Hi @birla still unable to re-produce :( at this point though, I believe this is actually a podman issue since this reflects directly with the CLI. I'm going to transfer this issue to https://github.com/containers/podman if that's okay with you. |
Hello, I have the exact same issue. I got this error after a |
Bug description
Compose extension (which uses github.com/docker/compose) is not able to access registry credentials configured in podman.
Quick fix: pull all required images manually, using
podman pull privateregistry.com/image:tag
then runpodman compose up
and it works because the local image cache is seeded now.Operating system
Windows 11
Installation Method
Installer from website/GitHub releases
Version
1.9.0
Steps to reproduce
podman login
or using the Podman desktop UI.podman pull
or the Podman desktop UI.podman compose up
Relevant log output
Additional context
No response
The text was updated successfully, but these errors were encountered: