Skip to content

Commit

Permalink
Fix doc link
Browse files Browse the repository at this point in the history
  • Loading branch information
Wh1isper committed Aug 29, 2023
1 parent e22947f commit f8a48a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/how-to/run-with-docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ dataucon/duetector
```

2. If there is no such file, you need to install headers and mount `/usr/lib/modules` into the container, `/usr/lib/modules` is the directory where kernel modules are installed, and `/lib` -> `/usr/lib` is the directory where kernel modules are installed, and usually `/lib` -> `/usr/lib` is the directory where kernel modules are installed. The steps are as follows:
1. In WSL2, [you need to compile and install headers by yourself](https://github.com/iovisor/bcc/blob/master/INSTALL.md#install-packages), or [directly replace your own compiled kernel](https:// zhuanlan.zhihu.com/p/324530180)
1. In WSL2, [you need to compile and install headers by yourself](https://github.com/iovisor/bcc/blob/master/INSTALL.md#install-packages), or [directly replace your own compiled kernel](https://learn.microsoft.com/en-us/windows/wsl/wsl-config)
2. Debian/Ubuntu `sudo apt-get install linux-headers-$(uname -r)`
3. arch `sudo pacman -S linux-headers`
4. For other distributions, see https://github.com/iovisor/bcc/blob/master/INSTALL.md
Expand Down

0 comments on commit f8a48a7

Please sign in to comment.