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

create docker container ? #25

Closed
dancekid opened this issue Dec 29, 2022 · 4 comments
Closed

create docker container ? #25

dancekid opened this issue Dec 29, 2022 · 4 comments

Comments

@dancekid
Copy link

Hello Alexandre,

tried to create a container but getting errors running the node.

Is there an explanation available somewhere ?

docker run -d
--name golem-network
--restart=unless-stopped
-v /mnt/golem/ya-provider/:/root/.local/share/ya-provider/
-v /mnt/golem/yagna/:/root/.local/share/yagna/
--device /dev/kvm:/dev/kvm
-e YA_PAYMENT_NETWORK=testnet
-e YA_ACCOUNT=0xcdthdthrth (changed)
aabrioux/golem-node:latest

Error:
ERROR golemsp] EOF

@alexandre-abrioux
Copy link
Owner

Hi, I'm not sure what the problem is, but I would bet on a volume mount issue. Make sure that the directories you're mounting can be accessed by the process. I would look at this: /mnt/golem/ --> are you mounting in docker a shared device or network drive? I'd say try with a normal directory first.

@alexandre-abrioux
Copy link
Owner

I'm closing this as I suspect it relates more to specific docker config/usage rather than a bug on this image. Please let me know if you think otherwise.

@dancekid
Copy link
Author

dancekid commented Jan 8, 2023

Hello Alex,
i mounted a fixed SATA-SSD and created golem directory. no networkdevice

@dancekid
Copy link
Author

dancekid commented Jan 8, 2023

i tried your docker compose file now. I am still a beginner.
how to open firsttime config in docker ?

in docker compose i get error:
[+] Running 1/1
⠿ Container golem_node Recreated 0.1s
Attaching to golem_node
golem_node | [2023-01-08T17:02:06Z ERROR golemsp] EOF
golem_node exited with code 0
golem_node exited with code 1
golem_node exited with code 1
golem_node exited with code 1
golem_node exited with code 1
golem_node exited with code 1
golem_node exited with code 1
golem_node exited with code 1
golem_node exited with code 1
golem_node exited with code 1

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