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

[Error] Error: initializing source docker://localhost/ #1640

Open
naclander opened this issue Dec 24, 2024 · 1 comment
Open

[Error] Error: initializing source docker://localhost/ #1640

naclander opened this issue Dec 24, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@naclander
Copy link

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):

  • Podman
  • podman version 5.0.3
  • distrobox: 1.7.2.1
  • Ubuntu 24.10
  • apt
@naclander naclander added the bug Something isn't working label Dec 24, 2024
@naclander
Copy link
Author

Seems it really does find the container in that location:

DEBU[0000] Image archlinux:2024-12-23 resolved to local image localhost/archlinux:2024-12-23 which will be used for pulling 

Then it tries to ping/pull it and fails:

DEBU[0000] Ping https://localhost/v2/ err Get "https://localhost/v2/": dial tcp 127.0.0.1:443: connect: connection refused (&url.Error{Op:"Get", URL:"https://localhost/v2/", Err:(*net.OpError)(0xc0003a1db0)}) 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant