-
Notifications
You must be signed in to change notification settings - Fork 792
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
Docker image not starting #496
Comments
Duplicate of #407 |
IPv6 is required to run a RaiBlocks node. |
Thanks :-D IPv6 works for me, yet the docker doesn't work, will check on the new guide :-) It's possible because I tried to run it without sudo privileges - assuming the node should not need any root-granted super-powers - which should be much more secure, I'll investigate Also, perhaps making the docker capable of running without sudo, maybe make it a separate ticket? |
No, the docker daemon runs as root regardless of what you run the docker CLI as. On some systems, your user is in the |
Cool, the instructions should be updated to reflect this. NOT doing things
as root is common sense, reduces the attack surface, should be the default.
…On Jan 16, 2018 12:45 AM, "Lee Bousfield" ***@***.***> wrote:
No, the docker daemon runs as root regardless of what you run the docker
CLI as. On some systems, your user is in the docker group, which means
you don't need sudo. Regardless, root is not the problem here.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#496 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAmrmWmvzVg4aQa5eV5Fy3aKLTxweA1rks5tK-MVgaJpZM4ReCi7>
.
|
No, I'm saying there's no difference between running the CLI as root or not as root. Docker is being run as root irregardless. From the Arch Linux wiki:
As you can see, you aren't using sudo, but you're root equivalent anyway. Using |
You need to change the bind address in config.json as described in the wiki |
same error docker starts then stops after a while giving that error changed the config.json too |
What solved for me was to bind to ipv6 in docker command, specifically in the docker-compose.yml
This wiki command led me to the solution: (from Docker node)
|
Description of bug:
The error is:
I tried:
lsof|grep -e 7075 -e 7076
)docker run
with a127.0.0.1
instead of[::1]
all without a change in the error message, suspect is something in the docker image
Steps to reproduce the issue:
Describe the results you received:
Error above :-)
Describe the results you expected:
A running node :-)
Additional information you deem important (e.g. issue happens only occasionally):
Issue happens every time
Environment:
logs
No RaiBlocks logs, fails at docker startup
The text was updated successfully, but these errors were encountered: