Skip to content

🎉 Deployment Skywalking with docker container or docker-compose and kubernetes.通过容器快速部署Skywalking。👉Docker hub image:

Notifications You must be signed in to change notification settings

kalosmark/skywalking-docker

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

88 Commits
 
 
 
 
 
 

Repository files navigation

Skywalking-Docker

通过Apache-skywalking官方发布的压缩包构建Docker镜像。提供一键启动单机演示版Skywalking的方式。

GitHub stars Docker Build Status Docker Automated build

Apache-skywalking官方源码

前置条件(Precondition)

了解Docker或者使用过Docker相关命令。

目录结构(Structure)

如何使用(Usage)

方式一、直接拉取镜像运行(Pull Image)

启动ElasticSearch容器

启动Skywalking容器

方式二、通过源码构建镜像(Build Image)

构建Skywalking镜像(Build Skywalking Image)

  • 安装Docker环境
  • git clone https://github.com/JaredTan95/skywalking-docker.git
  • Elasticsearch安装(如果已安装可跳过此步骤),版本要求5.x:docker run -p 9200:9200 -p 9300:9300 -e cluster.name=elasticsearch -e xpack.security.enabled=false -d wutang/elasticsearch-shanghai-zone:5.6.10
  • cd /skywalking-docker/5.x/standalone/all-in-one/
  • docker build -t skywalking:5.0.0 .
  • 运行容器
docker run -d  --net=host \
-m 2048m --memory-swap 2400m \
-e DAE_SEGMENT="^127\.0\.\d{1,3}.\d{1,3}$" \
-e JAVA_OPTS="-Xms1024m -Xmx2048m" \
-e ES_CLUSTER_NAME=elasticsearch \
-e ES_ADDRESSES=127.17.0.3:9300 \
skywalking:5.0.0
  • 使用浏览器访问http://localhost:8080即可.
  • 日志挂载 -v /your/log/path:/apache-skywalking-apm-incubating/logs

构建ElasticSearch镜像(Build ElasticSearch Image)

  • 安装Docker环境
  • git clone https://github.com/JaredTan95/skywalking-docker.git
  • cd /skywalking-docker/5.x/standalone/elasticsearch-Zone-Asia-SH
  • cd 5.6.10/或者cd 6.3.2/
  • docker build -t es-sh .

通过Docker Compose 一键启动(Start With Docker Compose)

参考:Skywalking-Docker Quick Start

About

🎉 Deployment Skywalking with docker container or docker-compose and kubernetes.通过容器快速部署Skywalking。👉Docker hub image:

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 68.8%
  • Dockerfile 31.2%