You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Get the following when I try to build an image using the Docker-dev Dockerfile:
Unexpected` mongo exit code 1. Restarting.
Can't start Mongo server.
MongoDB failed global initialization
Looks like MongoDB doesn't understand your locale settings. See
https://github.com/meteor/meteor/issues/4019 for more details.
From what I can tell, MongoDB won't start because the locale of the default docker machine isn't correct. I can't figure out how to set a locale that MongoDB will understand, either, because the package to generate new locales isn't installed, and it looks like there isn't a package manager on the machine either.
Sorry, I mixed up a fundamental part of how Docker works and I'm sorry for that. It has nothing to do with Docker for Mac. But, the locale on the base Debian image still isn't correct, and I'm having a hard time changing it, even after installing the locales package. I'm still trying to resolve it.
Since I'm somewhat unfamiliar with this application/repo, is the development Docker image/container supposed to run its own instance of MongoDB, or should one attach a separate MongoDB container to it, as you do with the production image? If so, the documentation should be updated.
Get the following when I try to build an image using the Docker-dev Dockerfile:
From what I can tell, MongoDB won't start because the locale of the default docker machine isn't correct. I can't figure out how to set a locale that MongoDB will understand, either, because the package to generate new locales isn't installed, and it looks like there isn't a package manager on the machine either.
This is what I'm trying to follow to fix the issue: http://jaredmarkell.com/docker-and-locales/
The text was updated successfully, but these errors were encountered: