- 博客(14)
- 资源 (8)
- 收藏
- 关注
原创 docker swarm 端口开放
The network ports required for a Docker Swarm to function properly are:TCP port 2376 for secure Docker client communication. This port is required for Docker Machine to work. Docker Machine is used ...
2019-01-31 12:43:20 6277
转载 Docker Swarm 常用命令
# 管理配置文件docker config # 查看已创建配置文件 - docker config ls # 将已有配置文件添加到docker配置文件中 - docker config create docker 配置文件名 本地配置文件 # 管理swarm节点docker node # 查看集群中的节点 - docker node ls ...
2019-01-30 14:23:13 746
原创 Eureka 与docker swarm 问题
将服务发布到docker swarm后发现eureka 客户端暴露出来的ip不可连接。原因: docker swarm 集群发布后,docker 容器默认有3个网卡 ,eth0 ,eth1,eth2其中overlay 占用了两个,vip 模式其中只有一个ip是可用的,因此暴露了不可用ip将会出现问题。解决方案Specifying a custom network value in Doc...
2019-01-30 09:05:55 1000
转载 ES检索分类脑图及常用操作
来源:> https://blog.csdn.net/laoyang360/article/details/77623013
2019-01-25 11:17:58 359
原创 vagrant 使用记录
win7 下第一次使用,vagrant up直接报default hyperv ,然后让控制台开启。 网上搜索了一堆,好像说win7 不支持hyperv 。然后傻傻以为vagrant难道不支持win7 。注: 今天发现,原来没有细看提示,这只是vagrant 找provider 没有找到就默认使用hyperv ,而hyperv也不正确所以就直接报错了 。我系统只安装了vmware works...
2019-01-13 16:57:24 176
转载 软件常用版本号Release RC M Snapshot
版本标志含义Release正式版本RC stands for Release Candidate后选版本M stands for milestone里程碑版本Snapshot快照版本
2019-01-11 20:11:28 476
转载 一文看懂 Redis5 搭建集群
1、简要说明2018年十月 Redis 发布了稳定版本的 5.0 版本,推出了各种新特性,其中一点是放弃 Ruby的集群方式,改为 使用 C语言编写的 redis-cli的方式,是集群的构建方式复杂度大大降低。关于集群的更新可以在 Redis5 的版本说明中看到,如下:The cluster manager was ported from Ruby (redis-trib.rb) to C c...
2019-01-11 19:37:26 261
原创 Redis 集群遇到的问题 (redis 3.2)
ERR SELECT is not allowed in cluster mode在集群模式下,不允许使用SELECT 操作选择database 。(error) CLUSTERDOWN Hash slot not served去除redis 的select 后 ,遇到的问题。 目前判断集群不可用。...
2019-01-11 08:57:12 1191
原创 docer 设置 拉取http协议的私有仓库
harbor 的docker-compose 建了个私有的docker 仓库,没做太多设置,仅支持http 。docker pull xxxxxxx 拉取镜像时,会自动加上 https 协议去请求 。不符合我的场景 。解决方法:vi /etc/docker/daemon.json 添加以下内容:{“registry-mirrors”:[“https://registr...
2019-01-10 14:17:45 207
转载 swarm on ubuntu
由于在centos7系统上使用docker-machine安装的swarm实现服务的负载均衡一直失败,存在问题,故将环境改到ubuntu16.04.2 LTS上进行操作两个节点manager1:192.168.101.17(安装docker、docker-machine),work1节点192.168.101.18(只进行安装docker)1、在ubuntu系统上安装docker,这里采用dp...
2019-01-06 14:53:11 296
原创 docker centos 防火墙问题
docker 添加防火墙firewall-cmd --zone=public --add-port=637/tcp --permanentfirewall-cmd --reloadservcie restart docker创建网络docker network create -d bridge --subnet 130.120.5.0/16 ommsh5_nw...
2019-01-05 22:35:54 2737
转载 redis 使用
可执行文件作用redis-server启动redisredis-cliredis命令行工具redis-benchmark基准测试工具redis-check-aofAOF持久化文件检测工具和修复工具redis-check-dumpRDB持久化文件检测工具和修复工具redis-sentinel启动redis-sentinel可以使用两...
2019-01-02 14:59:05 72
redhat7.3安装docker-ce18.09.1-3离线安装包
2019-02-11
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人