nestorandrespe / leyes-scraper

0 stars 0 forks source link

Problemas al arrancar docker #2

Open jgduenasl opened 3 years ago

jgduenasl commented 3 years ago

Hola @nestorandrespe , he intentado arrancar docker con el comando que me dijiste. Sin embargo, al parecer no logró conectarse con Mongo, este es el mensaje de la consola

@momo: docker-compose up -d
Creating network "leyes-scraper_default" with the default driver
Pulling mongo (mongo:)...
latest: Pulling from library/mongo
d519e2592276: Pull complete
d22d2dfcfa9c: Pull complete
b3afe92c540b: Pull complete
a2c1234bf134: Pull complete
05bf57f3b398: Pull complete
4737ab85f84c: Pull complete
6165557c172c: Pull complete
c2ca70046d29: Pull complete
b80a541da2a8: Pull complete
18edd0c32639: Pull complete
86830e28cf71: Pull complete
71e1d772417d: Pull complete
Digest: sha256:88e0308671a06d4ee7da41f87944ba66355b4ee3d57d57caf92f5e1938736abd
Status: Downloaded newer image for mongo:latest
Creating leyes-scraper_mongo_1 ... 

ERROR: for leyes-scraper_mongo_1  UnixHTTPConnectionPool(host='localhost', port=None): Read timed out. (read timeout=60)

ERROR: for mongo  UnixHTTPConnectionPool(host='localhost', port=None): Read timed out. (read timeout=60)
ERROR: An HTTP request took too long to complete. Retry with --verbose to obtain debug information.
If you encounter this issue regularly because of slow network conditions, consider setting COMPOSE_HTTP_TIMEOUT to a higher value (current value: 60).
nestorandrespe commented 3 years ago

Parece ser un problema de asignación de recursos. Intenta lo siguiente a ver cuanta memoria tienes: docker-machine inspect

Sacado de: https://stackoverflow.com/a/55123420