kind icon indicating copy to clipboard operation
kind copied to clipboard

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

Open jankoprowski opened this issue 2 years ago • 12 comments

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 avatar May 14 '22 14:05 jankoprowski

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

BenTheElder avatar May 14 '22 15:05 BenTheElder

@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 avatar May 14 '22 15:05 k8s-ci-robot

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?.

Aryan-Deshpande avatar Jul 19 '22 15:07 Aryan-Deshpande

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.

BenTheElder avatar Jul 27 '22 17:07 BenTheElder

/assign @MohammedYunus2002

mohammedyunus2002 avatar Sep 07 '22 15:09 mohammedyunus2002

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

rakshitgondwal avatar Sep 11 '22 15:09 rakshitgondwal

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

image

hrittikhere avatar Oct 04 '22 20:10 hrittikhere

Yes, please do!

BenTheElder avatar Oct 04 '22 20:10 BenTheElder

/assign

hrittikhere avatar Oct 04 '22 20:10 hrittikhere

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

hrittikhere avatar Oct 10 '22 19:10 hrittikhere

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

BenTheElder avatar Oct 10 '22 19:10 BenTheElder

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?

hrittikhere avatar Oct 10 '22 20:10 hrittikhere