mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2024-01-19 02:48:50 +00:00
add NET_ADMIN container capabilities instead of all privileges
This commit is contained in:
parent
7e7c34a256
commit
25b09928a3
|
@ -2,7 +2,8 @@ mail:
|
||||||
image: tvial/docker-mailserver
|
image: tvial/docker-mailserver
|
||||||
hostname: mail
|
hostname: mail
|
||||||
domainname: domain.com
|
domainname: domain.com
|
||||||
privileged: true
|
cap_add:
|
||||||
|
- NET_ADMIN
|
||||||
ports:
|
ports:
|
||||||
- "25:25"
|
- "25:25"
|
||||||
- "143:143"
|
- "143:143"
|
||||||
|
|
Loading…
Reference in a new issue