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

Error when "docker-compose up" #34

Open
Eightbitboss opened this issue May 15, 2023 · 1 comment
Open

Error when "docker-compose up" #34

Eightbitboss opened this issue May 15, 2023 · 1 comment

Comments

@Eightbitboss
Copy link

Hi.

First off, thanks for the Project. Exactly what i was looking for. I am an absolute Coding noob and have no idea what im doing, building this. But i like the challenge.

When im trying to docker-compose up it runs through nearly all steps, except this:

eight@waterpi:~/automated-irrigation-system $ sudo docker-compose up
[+] Building 3.8s (5/5) FINISHED
=> [automated-irrigation-system_backend internal] load .dockerignore 0.7s
=> => transferring context: 2B 0.2s
=> [automated-irrigation-system_frontend internal] load build definition 0.7s
=> => transferring dockerfile: 285B 0.3s
=> [automated-irrigation-system_frontend internal] load .dockerignore 1.1s
=> => transferring context: 63B 0.2s
=> [automated-irrigation-system_backend internal] load build definition 1.4s
=> => transferring dockerfile: 367B 0.2s
=> ERROR [automated-irrigation-system_backend internal] load metadata fo 2.0s

[automated-irrigation-system_backend internal] load metadata for docker.io/library/node:10:


failed to solve: rpc error: code = Unknown desc = node:10: no match for platform in manifest sha256:59531d2835edd5161c8f9512f9e095b1836f7a1fcb0ab73e005ec46047384911: not found

From the other posts i'm guessing i have to switch to node:10-alpine, but i have absolutly no idea how.

@Mistralteam
Copy link

Happy to try and help,
the node:10 alpine will be installed in your docker container environment automatically based on the dockerfile.

to me it looks like it can't find the image,

try docker-compose up without the sudo and see if it can find the image if not, run this command first

'docker pull node:10 alpine' , then run docker-compose up

once your happy with it working, you can run docker-compose up -d to make it run in detached mode and it will be hidden away doing its thing.

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

2 participants