From f5b7de457368ab9cae6bbb92fe25d4a4ca89331b Mon Sep 17 00:00:00 2001 From: Rick <1450685+LinuxSuRen@users.noreply.github.com> Date: Thu, 19 May 2022 13:25:39 +0800 Subject: [PATCH] Add instructions about how to use podman and k3d in wsl (#43) --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index cc9371b..f23bde9 100644 --- a/README.md +++ b/README.md @@ -33,3 +33,13 @@ Demo address: http://103.61.38.146:30001/ ```shell kubebuilder create api --group osf2f --version v1alpha1 --kind Profile ``` + +## WSL + +我们可以在 WSL 中把 podman 当做容器环境,安装 k3d 来开发调试: + +执行下面的命令,启动 podman 服务,然后创建 docker.sock 文件:`sudo ln -s /home/$USER/podman.sock /var/run/docker.sock` + +```shell +podman system service --time=0 unix:///home/$USER/podman.sock +```