docker-library/busybox

wget failed any URLs with bad request

TerryHu82 opened this issue · 1 comments

[root@bastion ~]# podman pull busybox
Trying to pull docker.io/library/busybox...
Getting image source signatures
Copying blob 24fb2886d6f6 done
Copying config 16ea53ea7c done
Writing manifest to image destination
Storing signatures
16ea53ea7c652456803632d67517b78a4f9075a10bfdc4fc6b7b4cbf2bc98497
[root@bastion chap3]# podman run -it --rm busybox
/ # wget http://kubernetes.io
wget: bad address 'kubernetes.io'

/ # wget https://github.com/docker-library/busybox/archive/master.zip
wget: bad address 'github.com'


/ # wget
BusyBox v1.33.1 (2021-09-13 17:20:40 UTC) multi-call binary.
......
[root@bastion chap3]# podman inspect docker.io/library/busybox
[
    {
        "Id": "16ea53ea7c652456803632d67517b78a4f9075a10bfdc4fc6b7b4cbf2bc98497",
        "Digest": "sha256:febcf61cd6e1ac9628f6ac14fa40836d16f3c6ddef3b303ff0321606e55ddd0b",
        "RepoTags": [
            "docker.io/library/busybox:latest"
        ],
        "RepoDigests": [
            "docker.io/library/busybox@sha256:f7ca5a32c10d51aeda3b4d01c61c6061f497893d7f6628b92f822f7117182a57",
            "docker.io/library/busybox@sha256:febcf61cd6e1ac9628f6ac14fa40836d16f3c6ddef3b303ff0321606e55ddd0b"
        ],
        "Parent": "",
        "Comment": "",
        "Created": "2021-09-14T01:20:04.919255608Z",
        "Config": {
            "Env": [
                "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
            ],
            "Cmd": [
                "sh"
            ]
        },
        "Version": "20.10.7",
        "Author": "",
        "Architecture": "amd64",
        "Os": "linux",
        "Size": 1459397,
        "VirtualSize": 1459397,
        "GraphDriver": {
            "Name": "overlay",
            "Data": {
                "UpperDir": "/var/lib/containers/storage/overlay/cfd97936a58000adc09a9f87adeeb7628a2c71d11c4998e6e7f26935fa0cd713/diff",
                "WorkDir": "/var/lib/containers/storage/overlay/cfd97936a58000adc09a9f87adeeb7628a2c71d11c4998e6e7f26935fa0cd713/work"
            }
        },
        "RootFS": {
            "Type": "layers",
            "Layers": [
                "sha256:cfd97936a58000adc09a9f87adeeb7628a2c71d11c4998e6e7f26935fa0cd713"
            ]
        },
        "Labels": null,
        "Annotations": {},
        "ManifestType": "application/vnd.docker.distribution.manifest.v2+json",
        "User": "",
        "History": [
            {
                "created": "2021-09-14T01:20:04.771753521Z",
                "created_by": "/bin/sh -c #(nop) ADD file:c9e0c3d3badfd458c47d49d7a587177b7d7c1c025fefb1fd798004f77999ca31 in / "
            },
            {
                "created": "2021-09-14T01:20:04.919255608Z",
                "created_by": "/bin/sh -c #(nop)  CMD [\"sh\"]",
                "empty_layer": true
            }
        ]
    }
]

I'm not able to reproduce. The error seems related to the host's networking configuration/environment

$ docker run -it --rm busybox
Unable to find image 'busybox:latest' locally
latest: Pulling from library/busybox
24fb2886d6f6: Pull complete 
Digest: sha256:f7ca5a32c10d51aeda3b4d01c61c6061f497893d7f6628b92f822f7117182a57
Status: Downloaded newer image for busybox:latest

/ # wget http://kubernetes.io
Connecting to kubernetes.io (147.75.40.148:80)
Connecting to kubernetes.io (147.75.40.148:443)
wget: note: TLS certificate validation not implemented
wget: TLS error from peer (alert code 40): handshake failure
wget: error getting response: Connection reset by peer

/ # wget https://github.com/docker-library/busybox/archive/master.zip
Connecting to github.com (140.82.114.4:443)
wget: note: TLS certificate validation not implemented
Connecting to codeload.github.com (140.82.113.10:443)
saving to 'master.zip'
master.zip           100% |*********************************************************| 32758  0:00:00 ETA
'master.zip' saved

/ # wget
BusyBox v1.33.1 (2021-09-13 17:20:40 UTC) multi-call binary.

You could also try asking over at the Docker Community Forums, Docker Community Slack, or Stack Overflow. Since these repos aren't really a user-help forum