Installation
If you want to use latest version of Pinpoint supported by the Dockerfile,
docker pull yous/pinpoint
复制
Also you can specify the version:
docker pull yous/pinpoint:1.0.4
复制
See tags for the list of all available versions.
Usage
docker run -i -t yous/pinpoint:latest bash
复制
Quickstart
docker run -i -t -p 28080-28082:28080-28082 --cap-add SYS_PTRACE \
yous/pinpoint:latest bash复制
We have to expose some ports used by Pinpoint by specifying -p
options. --cap-add SYS_PTRACE
is needed for netstat -anp
for displaying its PID with the program name. See docker/docker#7276 for details.
Starting
Start HBase
Start:
quickstart/bin/start-hbase.sh
Initialize Tables:
quickstart/bin/init-hbase.sh
Start Pinpoint Daemons
Collector:
quickstart/bin/start-collector.sh
Web UI:
quickstart/bin/start-web.sh
TestApp:
quickstart/bin/start-testapp.sh
Visit the following addresses to test out your Pinpoint instance.
Web UI:
http://localhost:28080
TestApp:
http://localhost:28081
Stopping
HBase:
quickstart/bin/stop-hbase.sh
Collector:
quickstart/bin/stop-collector.sh
Web UI:
quickstart/bin/stop-web.sh
TestApp:
quickstart/bin/stop-testapp.sh