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

Add instructions about how to use podman and k3d in wsl #43

Merged
merged 1 commit into from
May 19, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,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
```