DEV Community

Discussion on: Dockerized SailsJS/ReactJS/MongoDB/Redis/RabbitMQ/Nginx denvironment

Collapse
 
fjvalles profile image
Francisco Vallés

Hi Sven, cool article! I cloned your repo and tried to run it and I got a permission error running git submodule update:

Cloning into '/Users/fjvalles/Projects/players/api'...
git@github.com: Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
fatal: clone of 'git@github.com:svenvarkel/players-api.git' into submodule path '/Users/fjvalles/Projects/players/api' failed
Failed to clone 'api'. Retry scheduled
Cloning into '/Users/fjvalles/Projects/players/web'...
git@github.com: Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
fatal: clone of 'git@github.com:svenvarkel/players-web.git' into submodule path '/Users/fjvalles/Projects/players/web' failed
Failed to clone 'web'. Retry scheduled
Cloning into '/Users/fjvalles/Projects/players/api'...
git@github.com: Permission denied (publickey).
fatal: Could not read from remote repository.

Also, I had to run "docker swarm init" before "docker-compose up", which throwed an error I guess because of the failed "git submodule update" from before:

...
Digest: sha256:1a9478d8188d6be31dd2e8de076d402edf20446e54933aad7ff49f5b457d486c
Status: Downloaded newer image for mongo:4.2
Building api
ERROR: Cannot locate specified Dockerfile: Dockerfile

I would appreciate if you could guide me please!

Thanks