加载中
docker运行seyren

##序 seyren是一款开源的监控报警系统,采用java开发,从graphite读取指标。下面说一下如何进行docker化运行。 ##dockerfile FROM java:8 ADD https://github.com/scobal/seyren/releases/d...

2017/06/06 23:46
96
docker运行drill 1.10.0

##序 有些懒,想直接用sql查询mongo,找来找去,找到了drill,于是进行docker化安装。 ##Dockerfile FROM java:8 RUN mkdir -p /drill-scripts && \ mkdir -p /opt/drill RUN cu...

2017/05/23 00:32
30
kubernetes安装heapster、influxdb及grafana

##下载yaml 在这里下载deploy/kube-config/influxdb ##修改yaml 替换镜像 gcr.io/google_containers/heapster-grafana:v4.0.2 registry.cn-hangzhou.aliyuncs.com/kube_containers/heapster_...

2017/01/25 16:19
489
docker运行badjs

##pull镜像 docker pull docker.io/caihuijigood/badjs-docker ##创建mysql数据库 badjs-web/db/create.sql ##创建mongo use badjs ##启动 docker run -i -d -p 8080:80 -p 8081:8081 docke...

2017/01/24 15:16
259
通过jmx监控docker中的java应用

##添加jmx参数 ENV JAVA_OPTS="\ -Dcom.sun.management.jmxremote.rmi.port=9090 \ -Dcom.sun.management.jmxremote=true \ -Dcom.sun.management.jmxremote.port=9090 \ -Dcom.sun.managem...

2017/01/15 00:06
789
dockerfile中apt-install处理continue

##报错 Step 6 : RUN apt-get install lsof ---> Running in 3bffcff2a321 Reading package lists... Building dependency tree... Reading state information... The following extra pack...

2017/01/14 19:57
507
docker修改打开文件数

##privileged运行 docker run -p 8080:8080 --privileged -it demo:0.1.0 /bin/bash ##修改参数 ulimit -n 1024000 echo 6553560 > /proc/sys/fs/file-max ulimit -n cat /proc/sys/fs/file...

2017/01/10 16:47
653
docker的网络配置

##容器的网络配置 下面一些参数是在执行docker run时,提供给具体容器的: --net=bridge/none/container/host 'bridge': creates a new network stack for the container on the docker bri...

2017/01/01 23:43
18
mac本地安装kubernetes

##安装minikube curl -Lo minikube https://storage.googleapis.com/minikube/releases/v0.7.1/minikube-darwin-amd64 chmod +x minikube sudo mv minikube /usr/local/bin/ ##启动minikub...

2016/11/15 23:03
426
ubuntu dockerfile指定时区

##配置 RUN echo "Asia/Shanghai" > /etc/timezone && dpkg-reconfigure -f noninteractive tzdata

2016/11/11 22:11
57
docker拷贝文件

##从容器往host拷贝 docker cp <containerId>:/file/path/within/container /host/path/target ##从host拷贝到容器 docker cp foo.txt mycontainer:/foo.txt 或者 docker exec -it <...

2016/10/27 21:58
55
dockerfile指定jvm参数

##实例 FROM java:8 VOLUME /tmp ADD app.jar app.jar RUN bash -c 'touch /app.jar' EXPOSE 9001 ENV JAVA_OPTS="\ -server \ -Xmx4g \ -Xms4g \ -Xmn2g \ -XX:SurvivorRatio=8 \ -XX:Metas...

2016/10/25 13:14
1.3W
mac使用minikube安装kubernetes

##安装minikube curl -Lo minikube https://storage.googleapis.com/minikube/releases/v0.10.0/minikube-darwin-amd64 && chmod +x minikube && sudo mv minikube /usr/local/bin/ ##安装...

2016/10/03 11:07
168
mac react-native安装

##install brew install node brew install watchman sudo npm install -g react-native-cli react-native init reactDemoApp cd reactDemoApp react-native run-android ##docs react-nati...

2016/10/02 22:35
192
BootstrapDialog使用

##引入资源 <link rel="stylesheet" href="http://cdn.static.runoob.com/libs/bootstrap/3.3.7/css/bootstrap.min.css">   <script src="http://cdn.static.runoob.com/libs/jquery/2.1.1/jq...

2016/09/30 20:32
62
bearychat的java client

##实例 BearychatService client = new BearychatService(); BearychatMessage message = BearychatMessage.newMessage(title,link); Map<String,Object> data = re...

2016/09/29 21:30
58
docker运行cabot

##docker-compose cabot: build: . links: - postgres - redis - smtp volumes: - /opt/cabot environment: DATABASE_URL: "postgres://postgres:cabot@postgre...

2016/09/25 18:48
80
docker运行zabbix3.0

##docker-compose.yml version: '2' services: zabbix-db: image: monitoringartist/zabbix-db-mariadb volumes: - zabbix-db-storage:/var/lib/mysql - backups:/bac...

2016/09/24 16:34
110

没有更多内容

加载失败,请刷新页面

没有更多内容

返回顶部
顶部