## Postgres docker file for testing with tc

Build container with tc installed

```
> docker build -t test/postgres_tc postgres
```

Running the container

```
> docker run --rm --name test-postgres_tc -p 5432:5432 --cap-add=NET_ADMIN test/postgres_tc
```

Add one 1 ms latency to eth0

```
> docker exec -it test-postgres_tc tc qdisc add dev eth0 root netem delay 1ms
```
