-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Drop ':z' bind option when using MacOS and Podman #29850
Drop ':z' bind option when using MacOS and Podman #29850
Conversation
@@ -116,8 +116,14 @@ protected List<String> getContainerRuntimeBuildArgs() { | |||
volumeOutputPath = FileUtil.translateToVolumePath(volumeOutputPath); | |||
} | |||
|
|||
String selinuxBindOption = ":z"; | |||
if (SystemUtils.IS_OS_MAC | |||
&& ContainerRuntimeUtil.detectContainerRuntime() == ContainerRuntimeUtil.ContainerRuntime.PODMAN) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Question: will it work with Docker? I would expect it to fail on macOS in both cases?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I will test it with MacOS and Docker, and report back.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tested this with Quarkus 2.14.3 on another MacOS with Docker and it worked without any issues. So, this looks to be affecting only Podman.
Another machine details:
MacOS version: 12.6
Docker version: 20.10.12
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can't test it but it looks OK to me.
To my understanding this is actually a podman issue though so it would be better if someone could confirm the latter with upstream podman first. Then we could have this patch in referencing the podman issue.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for checking.
Failing Jobs - Building 2954a9f
Full information is available in the Build summary check run. Failures⚙️ JVM Tests - JDK 11 Windows #- Failing: extensions/smallrye-graphql/deployment
! Skipped: extensions/smallrye-graphql-client/deployment integration-tests/hibernate-orm-graphql-panache integration-tests/smallrye-graphql and 1 more 📦 extensions/smallrye-graphql/deployment✖
|
Please let me know if any other details are required from my end. |
When running the following build command on MacOS with Podman
the following error is thrown
This PR fixes the above issue.
Related:
MacOS version: 13.1
Podman version: 4.3.1