Skip to content

Commit

Permalink
Add instructions about how to use podman and k3d in wsl (#43)
Browse files Browse the repository at this point in the history
  • Loading branch information
LinuxSuRen authored May 19, 2022
1 parent d7ffbd1 commit f5b7de4
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```

0 comments on commit f5b7de4

Please sign in to comment.