sh: Unable to pull container with podman

Hi, this is not an issue.

I am moving most of my docker usage to podman (https://podman.io/).

For most of the cases it is relatively transparent but in the case of shfmt container, I am unable to pull the image:

❯ podman pull mvdan/shfmt:v3.2.0
Trying to pull docker.io/mvdan/shfmt:v3.2.0...
  unsupported docker v2s2 media type: "application/vnd.oci.image.layer.v1.tar+gzip"

I am not sure where the incompatibility comes from (container itself so build process or docker registry). Maybe there is a workaround?

If you could provide a podman compatible container, that would be very appreciated. If I can help in that task, please let me know.

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 19 (9 by maintainers)

Most upvoted comments

Yes, the code is all here.

You can ignore the last step. It just updates the docker image’s README with the README in this repo.

Similarly, the previous large step just tests that docker run works with the images as expected.

Install Docker buildx is also a lot of code to just… install a recent enough Docker version that has buildx. This was done when GitHub Actions used Ubuntu 18.04, which was too old. They’ve introduced 20.04 now, so maybe that step is not necessary anymore. I haven’t dug into it yet.

The author of a lot of this code is @ArturKlauser, who might be kind enough to give tips or help in some other way.