Skip to content

Commit

Permalink
Update standalone dockerfile and docs (jaegertracing#191)
Browse files Browse the repository at this point in the history
  • Loading branch information
vprithvi authored Jun 1, 2017
1 parent f6bca1c commit cafce19
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 4 deletions.
20 changes: 18 additions & 2 deletions cmd/standalone/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,22 @@
FROM scratch
# expose agent UDP and sampling ports and query port
EXPOSE 5775/udp 6831/udp 6832/udp 5778 16686

# Agent zipkin.thrift compact
EXPOSE 5775/udp

# Agent jaeger.thrift compact
EXPOSE 6831/udp

# Agent jaeger.thrift binary
EXPOSE 6832/udp

# Agent config HTTP
EXPOSE 5778

# Collector HTTP
EXPOSE 14268

# Web HTTP
EXPOSE 16686

COPY ./jaeger-ui-build /go/src/jaeger-ui-build
COPY ./cmd/standalone/standalone-linux /go/bin/
Expand Down
14 changes: 12 additions & 2 deletions docs/getting_started.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,20 @@ This image, designed for quick local testing, launches the Jaeger UI, collector,
The simplest way to start the all in one docker image is to use the pre-built image published to DockerHub.

```bash
docker run -d -p5775:5775/udp -p6831:6831/udp -p6832:6832/udp -p5778:5778 -p16686:16686 jaegertracing/all-in-one:latest
docker run -d -p5775:5775/udp -p6831:6831/udp -p6832:6832/udp -p5778:5778 -p16686:16686 -p14268:14268 jaegertracing/all-in-one:latest
```

You can then navigate to `http://localhost:16686` to access the Jaeger UI.
You can then navigate to `http://localhost:16686` to access the Jaeger UI.

Port | Protocol | Component | Function
---- | ------- | --------- | ---
5775 | UDP | agent | accept zipkin.thrift over compact thrift protocol
6831 | UDP | agent | accept jaeger.thrift over compact thrift protocol
6832 | UDP | agent | accept jaeger.thrift over binary thrift protocol
5778 | HTTP | agent | serve configs
16686| HTTP | web | serve frontend
14268| HTTP | collector | accept zipkin.thrift from zipkin senders


## Kubernetes and OpenShift
Kubernetes and OpenShift templates can be found in [Jaegertracing](https://github.com/jaegertracing/) organization on
Expand Down

0 comments on commit cafce19

Please sign in to comment.