-
Notifications
You must be signed in to change notification settings - Fork 433
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
distrobox clone - [Error] Error: initializing source docker://localhost/ #1640
Comments
Seems it really does find the container in that location:
Then it tries to ping/pull it and fails:
|
Hey, I'm thinking this miiiight be a podman bug? I ran into it while working on something completely unrelated. I was following this tutorial to get ollama to play extra nice with my shiny new laptop... And I ran into the same issue you had with this error:
Furthermore, checking the status of
What fixed it for me was removing Sorry if I'm barging in here for something that has no value at all. I just thought it might be relevant since this bug report is pretty recent and has the same error. |
pull is not compatible with localhost images, I think that's the problem not really a distrobox thing but simply an incompatibility at docker and podman usage level |
Can you help me understand what I've created a new distrobox image, and then I try to clone it. This fails due to the error described. So is |
Describe the bug
Using podman, cloning an existing image seems to be broken for some use-cases. See https://universal-blue.discourse.group/t/distrobox-cloning-fails-on-aurora/5269
To Reproduce
distrobox create --name archlinux2 --clone archlinux
Expected behavior
Clone succeeds.
Logs
Trying to pull localhost/archlinux:2024-12-23...
WARN[0000] Failed, retrying in 1s ... (1/3). Error: initializing source docker://localhost/archlinux:2024-12-23: pinging container registry localhost: Get "https://localhost/v2/": dial tcp 127.0.0.1:443: connect: connection refused
WARN[0001] Failed, retrying in 1s ... (2/3). Error: initializing source docker://localhost/archlinux:2024-12-23: pinging container registry localhost: Get "https://localhost/v2/": dial tcp 127.0.0.1:443: connect: connection refused
WARN[0002] Failed, retrying in 1s ... (3/3). Error: initializing source docker://localhost/archlinux:2024-12-23: pinging container registry localhost: Get "https://localhost/v2/": dial tcp 127.0.0.1:443: connect: connection refused
Error: initializing source docker://localhost/archlinux:2024-12-23: pinging container registry localhost: Get "https://localhost/v2/": dial tcp 127.0.0.1:443: connect: connection refused
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: