创建网络
docker network create -d bridge elastic
一、安装oap
docker run --name oap -d \ -e TZ=Asia/Shanghai \ -p 12800:12800 \ -p 11800:11800 \ --net elastic \ --link elasticsearch:elasticsearch \ -e SW_STORAGE=elasticsearch7 \ -e SW_STORAGE_ES_CLUSTER_NODES=elasticsearch:9200 \ apache/skywalking-oap-server:8.3.0-es7
二、安装skywalking-ui
docker run -d --name skywalking-ui \ -e TZ=Asia/Shanghai \ -p 8088:8080 \ --net elastic \ --link oap:oap \ -e SW_OAP_ADDRESS=oap:12800 \ apache/skywalking-ui:8.3.0
三、下载skywalking agent
https://archive.apache.org/dist/skywalking/8.3.0/apache-skywalking-apm-8.3.0.tar.gz
四、在idea
对应的springboot
启动方法内增加jvm参数
-javaagent:/Users/yf/Downloads/apache-skywalking-apm-bin/agent/skywalking-agent.jar -Dskywalking.agent.service_name=base -Dskywalking.collector.backend_service=127.0.0.1:11800
注意:以上版本需要保持一致
标签:8.3,--,oap,apache,docker,安装,skywalking From: https://www.cnblogs.com/fyiyy/p/18398646