Closed fabianvf closed 4 years ago
Based on this doc:
https://docs.docker.com/engine/reference/run/#security-configuration
I think it should be label=disable
Good catch, looks like the label:disable
syntax works in docker but label=disable
works with both docker + podman and is the documented option. Strangely most examples on the internet seem to use the :
syntax, must be from an old blog post or something.
/lgtm /approve
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: brendandburns, fabianvf
The full list of commands accepted by this bot can be found here.
The pull request process is described here
When running client generation with selinux running, the generator won't have proper access to the
/output_dir
volume due to selinux checks. Adding the--security-opt label:disable
will disable the selinux checks and allow client generation to succeed.