Add NET_ADMIN caps so that haraka can configure interface

This commit is contained in:
Girish Ramakrishnan
2014-10-03 17:13:26 -07:00
parent ada282e70d
commit a2baf856ae
+1 -1
View File
@@ -6,7 +6,7 @@ CLOUDRON_CONF="/home/yellowtent/.yellowtent/cloudron.conf"
DOMAIN_NAME=`hostname -f`
HARAKA_DIR="/home/yellowtent/.yellowtent/haraka"
CONTAINER_ID=$(docker run -d --name="haraka" \
CONTAINER_ID=$(docker run -d --name="haraka" --cap-add="NET_ADMIN"\
-p 127.0.0.1:25:25 \
-h $DOMAIN_NAME \
-e DOMAIN_NAME=$DOMAIN_NAME \