FAQ's - nasa/earthdata-search GitHub Wiki
Welcome to the FAQ's for EDSC
These FAQ's are intended to prevent assumptions. If you've identified something worthy of inclusion here, please add it.
Install location for earthdata-search on OS X
People have had issues installing EDSC in /usr/local... a workaround was to install it within /Users.
Docker file sharing for OS X
After configuring config/database.yml and config/application.yml and executing ./bin/setup after a lot of std output I get the following...
== Preparing database (development and test environments) == $ docker-compose run web bundle exec rake db:setup -> Creating network "earthdata-search_default" with the default driver -> Pulling db (postgres:)... -> latest: Pulling from library/postgres Creating earthdata-search_db_1 ... error -> -> ERROR: for earthdata-search_db_1 Cannot start service db: b'Mounts denied: \r\nThe path /usr/local/earthdata-search/tmp/db\r\nis not shared from OS X and is not known to Docker.\r\nYou can configure shared paths from Docker -> Preferences... -> File Sharing.\r\nSee https://docs.docker.com/docker-for-mac/osxfs/#namespaces for more info.\r\n.' -> ERROR: for db Cannot start service db: b'Mounts denied: \r\nThe path /usr/local/earthdata-search/tmp/db\r\nis not shared from OS X and is not known to Docker.\r\nYou can configure shared paths from Docker -> Preferences... -> File Sharing.\r\nSee https://docs.docker.com/docker-for-mac/osxfs/#Namespace for more info.\r\n.' -> Encountered errors while bringing up the project. Exiting: Error executing command docker-compose run web bundle exec rake db:setup
By default, Docker for Mac shares directories falling under /Users, /Volumes, /private and /tmp anything else needs to be explicitly configured within the Docker daemon. More information can be found here