mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2025-08-03 17:44:49 +02:00
add NET_ADMIN container capabilities instead of all privileges
This commit is contained in:
parent
7e7c34a256
commit
25b09928a3
1 changed files with 2 additions and 1 deletions
|
@ -2,7 +2,8 @@ mail:
|
|||
image: tvial/docker-mailserver
|
||||
hostname: mail
|
||||
domainname: domain.com
|
||||
privileged: true
|
||||
cap_add:
|
||||
- NET_ADMIN
|
||||
ports:
|
||||
- "25:25"
|
||||
- "143:143"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue