docker elasticsearch:7.1.1

 不废话直接干

[root@iZwz99dhxbd6xwly17tb3bZ ~] docker pull docker.elastic.co/elasticsearch/elasticsearch:7.1.1
Trying to pull repository docker.elastic.co/elasticsearch/elasticsearch ... 
6.3.2: Pulling from docker.elastic.co/elasticsearch/elasticsearch
7dc0dca2b151: Pull complete 
72d60ff53590: Pull complete 
ca55c9f7cc1f: Pull complete 
822d6592a660: Pull complete 
22eceb1ece84: Pull complete 
30e73cf19e42: Pull complete 
f05e800ca884: Pull complete 
3e6ee2f75301: Pull complete 
Digest: sha256:8f06aecf7227dbc67ee62d8d05db680f8a29d0296ecd74c60d21f1fe665e04b0
Status: Downloaded newer image for docker.elastic.co/elasticsearch/elasticsearch:7.1.1

[root@iZwz99dhxbd6xwly17tb3bZ ~] docker run -d --name es -p 9200:9200 -p 9300:9300 -e "discovery.type=single-node" docker.elastic.co/elasticsearch/elasticsearch:7.1.1
c11ef1beb4f3e82d74b8709f9462e83636551b6307cd816563a4a5539f17ac6b
 

浏览器访问ip:9200

{
  "name" : "2381ed95a07d",
  "cluster_name" : "docker-cluster",
  "cluster_uuid" : "NC0Nub--S2iSsHZyvrsENg",
  "version" : {
    "number" : "7.1.1",
    "build_flavor" : "default",
    "build_type" : "docker",
    "build_hash" : "7a013de",
    "build_date" : "2019-05-23T14:04:00.380842Z",
    "build_snapshot" : false,
    "lucene_version" : "8.0.0",
    "minimum_wire_compatibility_version" : "6.8.0",
    "minimum_index_compatibility_version" : "6.0.0-beta1"
  },
  "tagline" : "You Know, for Search"
}

 

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值