Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

failed to build: pull access denied for sammlerio/node #7

Open
dtibi opened this issue Jul 22, 2018 · 5 comments
Open

failed to build: pull access denied for sammlerio/node #7

dtibi opened this issue Jul 22, 2018 · 5 comments

Comments

@dtibi
Copy link

dtibi commented Jul 22, 2018

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.

@scripthead
Copy link

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

@iainp999
Copy link

iainp999 commented Feb 26, 2019

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
Copy link

iainp999 commented Feb 27, 2019

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/

@dtibi
Copy link
Author

dtibi commented Feb 27, 2019

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 :)

@iainp999
Copy link

@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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants