boot2podman / machine

Apache License 2.0
120 stars 16 forks source link

Pulling images does not work #8

Open dinamic opened 5 years ago

dinamic commented 5 years ago

I've tried to pull multiple images and all of them fail with a weird error message. Here's the alpine for example:

~$ podman-machine ls
NAME   ACTIVE   DRIVER   STATE     URL               ERRORS
box    -        qemu     Running   tcp://127.0.0.1
~$ podman-machine ssh box
        .---.        b o o t 2                 mm             https://podman.io
       /o   o\                                 ##
    __(=  "  =)__    ##m###m    m####m    m###m##  ####m##m   m#####m  ##m####m
     //\'-=-'/\\     ##"  "##  ##"  "##  ##"  "##  ## ## ##   " mmm##  ##"   ##
        )   (        ##    ##  ##    ##  ##    ##  ## ## ##  m##"""##  ##    ##
       /     \       ###mm##"  "##mm##"  "##mm###  ## ## ##  ##mmm###  ##    ##
  ____/  / \  \____  ## """      """"      """ ""  "" "" ""   """" ""  ""    ""
 `------'`"`'------' ##                                                art: jgs
tc@box:~$ podman pull alpine
Trying to pull docker://alpine...Getting image source signatures
Copying blob bdf0201b3a05 done
ERRO[0006] Error pulling image ref //alpine:latest: Error writing blob: error storing blob to file "/var/tmp/storage505715532/1": local error: tls: bad record MAC
Failed
(0x1949200,0xc0008bec40)
Error: error pulling image "alpine": Invalid image name "alpine", expected colon-separated transport:reference

Trying to pull it on runtime fails as well.

tc@box:~$ podman run -it alpine sh
Trying to pull docker.io/library/alpine...Getting image source signatures
Copying blob bdf0201b3a05 done
ERRO[0006] Error pulling image ref //alpine:latest: Error writing blob: error storing blob to file "/var/tmp/storage168383111/1": local error: tls: bad record MAC
Failed
Trying to pull quay.io/alpine...ERRO[0009] Error pulling image ref //quay.io/alpine:latest: Error determining manifest MIME type for docker://quay.io/alpine:latest: Error reading manifest latest in quay.io/alpine: error parsing HTTP 404 response body: invalid character '<' looking for beginning of value: "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 3.2 Final//EN\">\n<title>404 Not Found</title>\n<h1>Not Found</h1>\n<p>The requested URL was not found on the server.  If you entered the URL manually please check your spelling and try again.</p>\n"
Failed
Error: unable to pull alpine: 2 errors occurred:
    * Error writing blob: error storing blob to file "/var/tmp/storage168383111/1": local error: tls: bad record MAC
    * Error determining manifest MIME type for docker://quay.io/alpine:latest: Error reading manifest latest in quay.io/alpine: error parsing HTTP 404 response body: invalid character '<' looking for beginning of value: "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 3.2 Final//EN\">\n<title>404 Not Found</title>\n<h1>Not Found</h1>\n<p>The requested URL was not found on the server.  If you entered the URL manually please check your spelling and try again.</p>\n"

tc@box:~$
afbjorklund commented 5 years ago

I'm thinking there might be some proxy involved here ? tls: bad record MAC But that is just a theory, as I don't see the same kind of issues when I try it...

tc@box:~$ podman pull alpine
Trying to pull docker://alpine...Getting image source signatures
Copying blob bdf0201b3a05 done
Copying config cdf98d1859 done
Writing manifest to image destination
Storing signatures
cdf98d1859c1beb33ec70507249d34bacf888d59c24df3204057f9a6c758dddb
tc@box:~$ 
dinamic commented 5 years ago

I don't have any proxy settings applied. Could this be specific to tc?