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

Document installing linux docker (not docker desktop) on WSL 2 #2770

Closed
jankoprowski opened this issue May 14, 2022 · 12 comments · Fixed by #2966
Closed

Document installing linux docker (not docker desktop) on WSL 2 #2770

jankoprowski opened this issue May 14, 2022 · 12 comments · Fixed by #2966
Assignees
Labels
good first issue Denotes an issue ready for a new contributor, according to the "help wanted" guidelines. help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. kind/documentation Categorizes issue or PR as related to documentation.

Comments

@jankoprowski
Copy link

What would you like to be documented:
WSL 2 is not nesesery need Docker Desktop, which is not free.
You could document setup with https://docs.docker.com/engine/install/ubuntu/
After installing docker you just need add your user to docker group, restart wsl and run command service docker start

Why is this needed:
Docker Desktop is not free - it would be nice to know you have an free alternative under WSL 2

@jankoprowski jankoprowski added the kind/documentation Categorizes issue or PR as related to documentation. label May 14, 2022
@BenTheElder
Copy link
Member

PRs welcome, the WSL2 docs are maintained through community contributions, we don't develop on windows and don't have CI #1529
/help
/good-first-issue

@k8s-ci-robot
Copy link
Contributor

@BenTheElder:
This request has been marked as suitable for new contributors.

Guidelines

Please ensure that the issue body includes answers to the following questions:

  • Why are we solving this issue?
  • To address this issue, are there any code changes? If there are code changes, what needs to be done in the code and what places can the assignee treat as reference points?
  • Does this issue have zero to low barrier of entry?
  • How can the assignee reach out to you for help?

For more details on the requirements of such an issue, please see here and ensure that they are met.

If this request no longer meets these requirements, the label can be removed
by commenting with the /remove-good-first-issue command.

In response to this:

PRs welcome, the WSL2 docs are maintained through community contributions, we don't develop on windows and don't have CI #1529
/help
/good-first-issue

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@k8s-ci-robot k8s-ci-robot added good first issue Denotes an issue ready for a new contributor, according to the "help wanted" guidelines. help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. labels May 14, 2022
jankoprowski added a commit to jankoprowski/kind that referenced this issue May 21, 2022
@Aryan-Deshpande
Copy link

Hey, I would like to work on this issue. Just to clear up, documentation needs to be made to install docker/ setup docker on wsl2 right?.

@BenTheElder
Copy link
Member

Yes, the request is to document using kind without using docker desktop, on WSL2.

I think we should keep this relatively short / lightweight, "how to install docker" is not really in scope for this project, but we should document that this is an option with WSL2.

@mohammedyunus2002
Copy link

/assign @mohammedyunus2002

@rakshitgondwal
Copy link
Member

Hey @BenTheElder !!
I would like to work on this issue.

@hrittikhere
Copy link
Contributor

hrittikhere commented Oct 4, 2022

Do we need to expand this section? CC: @BenTheElder
I can touch on that!

image

@BenTheElder
Copy link
Member

Yes, please do!

@hrittikhere
Copy link
Contributor

/assign

@hrittikhere
Copy link
Contributor

Hey @BenTheElder
Found this article: https://dev.solita.fi/2021/12/21/docker-on-wsl2-without-docker-desktop.html and I think it will be a good reference point. Do you feel going with Debian & apt will be okay for the first PR? Please advice

@BenTheElder
Copy link
Member

I think we should prefer to document only that it is an option and link to external documentation.

We should not personally maintain "how to install docker on WSL2" ourselves, this is duplicated effort and Kubernetes SIG Docs prohibits this sort of thing for https://kubernetes.io

@hrittikhere
Copy link
Contributor

Thanks @BenTheElder for the information!

Something like:

Setting up Docker in WSL2 without Docker Desktop

  • 2/3 Links for external blogs

Does this look good with a few more lines of information?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Denotes an issue ready for a new contributor, according to the "help wanted" guidelines. help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. kind/documentation Categorizes issue or PR as related to documentation.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants