speedy icon indicating copy to clipboard operation
speedy copied to clipboard

failed to build: pull access denied for sammlerio/node

Open dtibi opened this issue 6 years ago • 5 comments

after running the "docker-compose up" command I get this error after a while

Step 1/10 : FROM sammlerio/node ERROR: Service 'speedy' failed to build: pull access denied for sammlerio/node, repository does not exist or may require 'docker login'

not sure if its because im not using the -d flag is seems it does not exist.

dtibi avatar Jul 22 '18 16:07 dtibi

Same issue here. Tried switching it to sammlerio/node-yarn, resulted in a crashing speedy container.

scripthead avatar Sep 10 '18 04:09 scripthead

I have a similar issue. I'm trying to build on a raspberry pi (3b+), and fixed most things up (essentially just the base container images).

However, I tried switching to using 'node' as a base image for speedy. Container builds without errors, but when it's spun up, the node script bombs out as it cannot find the influx module.

I'm suspecting something with yarn?

iainp999 avatar Feb 26 '19 15:02 iainp999

OK, so I solved my problem.

  1. Switched over to using the node image

In docker/speedy/Dockerfile replace FROM sammlerio/node with FROM node

  1. Removed the "volumes" section from the root docker-compose.yml file.

With regards to (2), this was the reason that the node module was missing at runtime and the reason that the container was stuck on a restart loop.

The package is built as part of the container, however at runtime the mounted bind volume was replacing the directory containing the node modules with the mapped host directory, and this did not contain any modules.

So maybe try removing these lines, then docker compose down && docker compose up --build

    volumes:
      - ./docker/speedy/:/home/

iainp999 avatar Feb 27 '19 11:02 iainp999

Cool, thanks! I remember I was also trying to run this on a RBP-3. I'll try this right after I finish my exams :)

dtibi avatar Feb 27 '19 12:02 dtibi

@danieldude15 I have a branch on my forked repo that may get you started a little more quickly

https://github.com/iainp999/speedy/tree/rasbpi

I had to manually configure the data source and dashboard, but I may upload the config files for those to that branch when I get 5

iainp999 avatar Feb 27 '19 14:02 iainp999