Skip to content
This repository was archived by the owner on Nov 10, 2023. It is now read-only.

Commit 70d61b5

Browse files
authored
Update README.md
1 parent 7677c0f commit 70d61b5

1 file changed

Lines changed: 11 additions & 3 deletions

File tree

README.md

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,15 @@
22

33
<img src="trout.jpg">A dramatization of [a rainbot trout](https://en.wikipedia.org/wiki/File:Rainbow_trout_transparent.png) swimming against [the data stream](https://pixabay.com/en/background-bits-bit-network-blue-213649/).</img>
44

5-
## Prerequisites
5+
## Quickstart
6+
7+
```sh
8+
$ docker run -ti --rm -p 8080:8080 --cap-add NET_ADMIN hownetworks/tracetrout
9+
```
10+
11+
## A Less Quick Start
12+
13+
### Prerequisites
614

715
The code is designed to run on Linux. Also ensure that `iptables` and `libnetfilter-queue1` packages are installed:
816

@@ -22,7 +30,7 @@ $ iptables -A INPUT -p icmp --icmp-type time-exceeded -j NFQUEUE --queue-num 0
2230
$ iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-port 8080
2331
```
2432

25-
## Compiling
33+
### Compiling
2634

2735
Compilation requires the `netfilter-queue-dev` package and Go 1.8 or later.
2836

@@ -31,7 +39,7 @@ $ apt-get install netfilter-queue-dev
3139
$ go build
3240
```
3341

34-
## Running
42+
### Running
3543

3644
To start listening on port 8080:
3745

0 commit comments

Comments
 (0)