Replies: 1 comment 26 replies
-
how have you configured your go modules? |
Beta Was this translation helpful? Give feedback.
26 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind bug
Description
unable to use podman binding in go program
Steps to reproduce the issue:
i am facing below error when i try to build my go program which uses go binding
# github.com/containers/image/v5/manifest
/root/go/pkg/mod/github.com/containers/image/[email protected]/manifest/oci.go:44:244: undefined: v1.MediaTypeImageLayerNonDistributableZstd
/root/go/pkg/mod/github.com/containers/image/[email protected]/manifest/oci.go:44: undefined: v1.MediaTypeImageLayerZstd
/root/go/pkg/mod/github.com/containers/image/[email protected]/manifest/oci.go:101:49: undefined: v1.MediaTypeImageLayerNonDistributableZstd
/root/go/pkg/mod/github.com/containers/image/[email protected]/manifest/oci.go:106:49: undefined: v1.MediaTypeImageLayerZstd
i have these 2 imports
"github.com/containers/podman/v2/pkg/bindings"
"github.com/containers/podman/v2/pkg/bindings/images"
i am using go v1.17.3
Describe the results you received:
Describe the results you expected:
Additional information you deem important (e.g. issue happens only occasionally):
Output of
podman version
:Output of
podman info
:Package info (e.g. output of
rpm -q podman
orapt list podman
):Have you tested with the latest version of Podman and have you checked the Podman Troubleshooting Guide? (https://github.com/containers/podman/blob/main/troubleshooting.md)
Yes/No
Additional environment details (AWS, VirtualBox, physical, etc.):
Beta Was this translation helpful? Give feedback.
All reactions