2021-07-15 Skywalking 8.6.0 docker布署

docker pull elasticsearch:7.5.1

docker pull apache/skywalking-oap-server:8.6.0-es7

docker pull apache/skywalking-ui:8.6.0

docker run -d --name=es7 \

-p 9200:9200 -p 9300:9300 \

-e "discovery.type=single-node" elasticsearch:7.5.1

docker cp es7:/usr/share/elasticsearch/data /data/elasticsearch/

docker cp es7:/usr/share/elasticsearch/logs /data/elasticsearch/

docker rm -f es7

mkdir -p /data/elasticsearch

docker run -d --name=es7 \

--restart=always \

-p 9200:9200 -p 9300:9300 \

-e "discovery.type=single-node" \

-v /data/elasticsearch/data:/usr/share/elasticsearch/data \

-v /data/elasticsearch/logs:/usr/share/elasticsearch/logs \

elasticsearch:7.5.1

docker run --name oap --restart always -d \

--restart=always \

-e TZ=Asia/Shanghai \

-p 12800:12800 \

-p 11800:11800 \

--link es7:es7 \

-e SW_STORAGE=elasticsearch \

-e SW_STORAGE_ES_CLUSTER_NODES=es7:9200 \

apache/skywalking-oap-server:8.6.0-es7

docker run -d --name skywalking-ui \

--restart=always \

-e TZ=Asia/Shanghai \

-p 9000:8080 \

--link oap:oap \

-e SW_OAP_ADDRESS=oap:12800 \

apache/skywalking-ui:8.6.0

你可能感兴趣的:(2021-07-15 Skywalking 8.6.0 docker布署)