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
Add note in README file #713
Comments
Thanks. /assign |
Technically kind needs to run as any user that has access to the docker socket, which may or may not be root depending on how you install docker. This is also true if using the |
@BenTheElder Thanks for replying. I am not well aware of how to run docker without binding to UNIX socket, but feel this might be the most common way of installation. So maybe this will be a nice addition in README file. |
You definitely normally run it on a UNIX socket (can also be remote / TCP though), however a couple points / clarifications:
https://docs.docker.com/install/linux/docker-ce/ubuntu/#install-using-the-convenience-script
I don't feel the repo README is quite the correct place to bring this up, as we also don't get into docker installation details and I haven't seen any comparable docker tooling (including say, docker itself) discuss this there. I do think this at least belongs in the known-issue guide however. 😅 |
@BenTheElder Great, I totally agree with you now. Thanks for sharing this informarion.
If I run command |
Ah, so if you installed kind with go or the make build it was likely installed to
|
If you install If you using |
Closing since a PR has been created fixing this issue. |
What would you like to be documented:
In README file under Installation and usage, there might be a need to add a note for the requirement of running docker as a non root user (running without sudo).
Good idea to add a link too.
Why is this needed:
As a new user when I was trying to run
kind create cluster
, I got an error "Error: could not list clusters: invalid output when listing nodes: WARNING: Error loading config file: /home/necuser/.docker/config.json: open /home/necuser/.docker/config.json: permission denied" and thus get a little confusing.The text was updated successfully, but these errors were encountered: