暂无图片
暂无图片
暂无图片
暂无图片
暂无图片

Docker单容器构建PinPoint

阿桂的博客 2019-07-10
205

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



文章转载自阿桂的博客,如果涉嫌侵权,请发送邮件至:contact@modb.pro进行举报,并提供相关证据,一经查实,墨天轮将立刻删除相关内容。

评论