Skip to content

Commit 82a5c9a

Browse files
author
Giovanni Curiel dos Santos
committed
[IOTMID-220] Fixing mongodb image for SELinux
Current public docker of mongodb has an issue with SELinux - it won't spawn child processes using the default user (root) - as described here: docker-library/mongo#158 Apparently setting the user as 'mongodb' fixed this issue (or disabling SELinux altogether, but this might be a major concern) Change-Id: I8564b5211a5296606f5d4ede8d7fe2dffecb1524
1 parent 3085bdc commit 82a5c9a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docker-compose.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ services:
1818

1919
mongodb:
2020
image: "mongo:3.2"
21+
user: "mongodb"
2122
networks:
2223
subs:
2324
aliases:

0 commit comments

Comments
 (0)