support systems with SELinux
This commit is contained in:
parent
8c03ef0772
commit
d36910474a
1 changed files with 2 additions and 2 deletions
|
@ -71,8 +71,8 @@ func dockerRunMongo() {
|
|||
},
|
||||
},
|
||||
Binds: []string{
|
||||
fmt.Sprintf("%s/mongo%d:/data/db", mongoBasePath, containerNumber),
|
||||
fmt.Sprintf("%s:/opt/keyfile", mongoBasePath),
|
||||
fmt.Sprintf("%s/mongo%d:/data/db:z", mongoBasePath, containerNumber),
|
||||
fmt.Sprintf("%s:/opt/keyfile:z", mongoBasePath),
|
||||
},
|
||||
NetworkMode: container.NetworkMode(networkName),
|
||||
RestartPolicy: container.RestartPolicy{
|
||||
|
|
Loading…
Reference in a new issue