The dockerfile adds mongodb user as system user which in turn creates a user with a uid of 999.  On our host we happen to have another default system user with a uid of 999.  When we run the docker container it gets mapped to this user.  I'm wondering what people have done to get around this. Basically the container has all the rights of the mapped user now.