Skip to content

Add SELinux support#1672

Merged
erik-wramner merged 8 commits intodocker-mailserver:masterfrom
omarc1492:patch-1
Nov 1, 2020
Merged

Add SELinux support#1672
erik-wramner merged 8 commits intodocker-mailserver:masterfrom
omarc1492:patch-1

Conversation

@omarc1492
Copy link
Copy Markdown
Contributor

@omarc1492 omarc1492 commented Oct 30, 2020

Added SELinux support to docker-compose and the script setup.sh. Closes #1637

Add script options -z and -Z to handle SELinux environments.
Add example of using script when SELinux is enabled.
Add additional bind mount option for when SELinux is enabled
Add optional environment variable that is disabled and has -Z as default option.
@georglauterbach
Copy link
Copy Markdown
Member

This is waiting for review. @casperklein what's your take on this? @erik-wramner any opinions on this?

Copy link
Copy Markdown
Member

@casperklein casperklein left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. All additions are opt-in. So there are no drawbacks for existing setups.

@erik-wramner
Copy link
Copy Markdown
Contributor

I agree, looks good and should not affect existing users. I'll merge it.

@erik-wramner erik-wramner merged commit 6726871 into docker-mailserver:master Nov 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

SELinux Fix?

4 participants