Skip to content

Commit de53814

Browse files
author
Guilherme Baufaker Rêgo
committed
Minor Adjustments on Hotrod Readme
- exposing more ports on Dockerfile and copy only binary to Dockerfile Signed-off-by: Guilherme Baufaker Rêgo <gbaufake@redhat.com>
1 parent 13599f1 commit de53814

File tree

2 files changed

+4
-15
lines changed

2 files changed

+4
-15
lines changed

examples/hotrod/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
FROM scratch
2-
EXPOSE 8080
3-
COPY . /
2+
EXPOSE 8080 8081 8082 8083
3+
COPY collector-linux /
44
CMD ["./collector-linux", "all"]

examples/hotrod/README.md

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -48,20 +48,9 @@ Then open http://127.0.0.1:8080
4848

4949

5050
# HotROD on Containerized Version
51-
## Requirements
52-
- go
53-
- docker-compose
54-
- docker
55-
### Creating the images
56-
57-
```
58-
chmod +x ./create-image.sh
59-
./create-image.sh
60-
```
61-
62-
### Run Everyting
51+
## Running on Docker
6352
```
64-
docker run -p 8080:8080 -p 8082:8082 -p 8083:8083 jaegertracing/hotrod
53+
docker run -d -p 8080:8080 -p 8082:8082 -p 8083:8083 jaegertracing/hotrod &&
6554
docker run -d -p6831:6831/udp -p16686:16686 jaegertracing/all-in-one:latest
6655
```
6756

0 commit comments

Comments
 (0)