Skip to content

Commit

Permalink
Fix README formatting.
Browse files Browse the repository at this point in the history
  • Loading branch information
sorccu committed May 25, 2014
1 parent d663dc6 commit fc81dae
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,13 @@ docker run --rm -ti --net container:adbd ubuntu nc localhost 5037 <<< 000chost:d
```

**Pros:**

* No port redirection required
* No need to look up IP addresses
* `adb forward` works without any tricks

**Cons:**

* Cannot use bridged (or any other) network on the client container
* Only works if the server and client containers run on the same machine

Expand All @@ -54,10 +56,12 @@ docker run --rm -ti sorccu/adb -H x.x.x.x -P 5037 devices
Where `x.x.x.x` is the server host machine.

**Pros:**

* Scales better (can use any number of hosts/clients)
* No network limitations

**Cons:**

* Need to be aware of IP addresses
* Higher latency

Expand Down

0 comments on commit fc81dae

Please sign in to comment.