通过尝试运行cubestore 发现了一个问题,以下是一些整理 共享存储问题 如果注意查看官方文档以及docker-compose 环境会发现都是挂载了同一个数据卷,这个很重要,目前官方没说明通过实践发现这个是必须的(使用blob 存储会好些,s3.。。) 参考配置 目前官方对于共享配置提供了完整的 ...
分类:
其他好文 时间:
2021-05-03 13:19:25
阅读次数:
0
1. namespace 资源隔离 namespace 是内核实现的一种资源隔离技术,docker 使用 namespace 实现了资源隔离。 Liunx 内核提供 6 种 namespace 隔离的系统调用,如下表所示: | namespace | 系统调用参数 | 隔离内容 | | | | | ...
分类:
其他好文 时间:
2021-05-03 13:19:09
阅读次数:
0
官方提供了docker-compose 的运行模式 环境准备 docker-compose 文件 version: "3" services: cubestore_router: restart: always image: cubejs/cubestore:latest environment: ...
分类:
其他好文 时间:
2021-05-03 12:43:52
阅读次数:
0
#!/bin/bash while read linedo echo $line txt=`echo $line |awk -F' ' '{print $1}'` id=`echo $line|awk -F' ' '{print $3}'` echo $txt echo $id sed "s/ws2 ...
分类:
系统相关 时间:
2021-05-03 12:39:24
阅读次数:
0
govendor简介 golang工程的依赖包经常使用go get命令来获取,例如:go get github.com/kardianos/govendor ,会将依赖包下载到GOPATH的路径下。 常用的依赖包管理工具有godep,govendor等,在Golang1.5之后,Go提供了 GO15 ...
分类:
其他好文 时间:
2021-05-03 12:03:26
阅读次数:
0
1容器保存为镜像 我们可以通过以下命令将容器保存为镜像 docker commit nginx mynginx nginx是容器名称 mynginx是新的镜像名称 此镜像的内容就是你当前容器的内容,接下来你可以用此镜像再次运行新的容器2镜像备份 docker save -o mynginx.tar ...
分类:
其他好文 时间:
2021-05-03 11:59:25
阅读次数:
0
一、安装influxdb 1.安装和进入influxdb docker pull influxdb:1.7.9 sudo docker run -d -p 8083:8083 -p8086:8086 --expose 8090 --expose 8099 --name influxDbService ...
分类:
数据库 时间:
2021-05-03 11:55:57
阅读次数:
0
crontab 用于设置定时任务,通过 cat /etc/crontab 可查看 crontab 示例: $ cat /etc/crontab SHELL=/bin/bash PATH=/sbin:/bin:/usr/sbin:/usr/bin MAILTO=root # For details s ...
分类:
其他好文 时间:
2021-05-03 11:54:27
阅读次数:
0
一、进入docker docker exec -it -uroot xxx bash 二、查看是否安装pytest pip3 list 三、找到之前安装py3.8的路径(每个人位置有区别) python3import syssys.path找到下方带bin的路径/var/jenkins_home/p ...
分类:
其他好文 时间:
2021-05-03 11:50:50
阅读次数:
0
https://www.serverless.com/learn/comparisons/ Docker Docker packages software into standardized units (containers) to make it easier to manage applica ...
分类:
其他好文 时间:
2021-05-03 11:49:54
阅读次数:
0