-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
can't compile go using podman #3402
Comments
Is Regardless, bug is in build, tagging the Buildah folks |
Thanks @mheon for looking and tagging. Do you have a Dockerfile sample that would allow to compile a go program? |
Forgot to add the |
@giuseppe could this error be due to using overlay instead of Fuse? @csantanapr any objections to using Fedora instead of Ubuntu within your first image? |
@TomSweeneyRedHat sure I can try Fedora Do you have Dockerfile that I can try to build and use a container image on Mac? |
@csantanapr, still a bit of a WIP, but you can try the Dockerfiles here |
from the error message, it seems that it is attempting to create a new namespace. You need at least to provide "--cap-add SYS_ADMIN" and see if it improves anything. You would probably also like to |
can we close this |
Reopen if @giuseppe fix did not solve this. |
/kind bug
Description
Trying to use podman to build a container using golang
Describe the results you received:
error building
Describe the results you expected:
Build to work
Steps to reproduce the issue:
Created the container using this Dockerfile
Dockerfile
Additional information you deem important (e.g. issue happens only occasionally):
Output of podman version:
(paste your output here)
Output of podman info --debug:
(paste your output here)
Additional environment details (AWS, VirtualBox, physical, etc.):
Running on OSX using docker for mac
The text was updated successfully, but these errors were encountered: