forked from iovisor/bcc
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add Quick Start Guide for bcc docker
- Loading branch information
Showing
1 changed file
with
20 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# Quick Start Guide | ||
|
||
A Docker container is provided for user to try out [bcc](https://github.com/iovisor/bcc). | ||
|
||
From your host shell: | ||
```bash | ||
docker run -it --rm \ | ||
--privileged \ | ||
-v /lib/modules:/lib/modules:ro \ | ||
-v /usr/src:/usr/src:ro \ | ||
-v /etc/localtime:/etc/localtime:ro \ | ||
--workdir /usr/share/bcc/tools \ | ||
zlim/bcc | ||
``` | ||
|
||
Now, from the container shell, you can try the various pre-installed bcc tools. | ||
|
||
For examples, please refer to the [tutorial](docs/tutorial.md#1-general-performance). | ||
|
||
If you wish to install bcc on your host, please refer to [INSTALL.md](INSTALL.md). |