本文共 5895 字,大约阅读时间需要 19 分钟。
官发文档
[root@localhost ~]# docker search elasticsearchINDEX NAME DESCRIPTION STARS OFFICIAL AUTOMATEDdocker.io docker.io/elasticsearch Elasticsearch is a powerful open source se... 3450 [OK] docker.io docker.io/kibana Kibana gives shape to any kind of data — s... 1399 [OK] docker.io docker.io/nshou/elasticsearch-kibana Elasticsearch-6.5.4 Kibana-6.5.4 94 [OK]docker.io docker.io/itzg/elasticsearch Provides an easily configurable Elasticsea... 67 [OK]docker.io docker.io/elastichq/elasticsearch-hq Official Docker image for ElasticHQ: Elast... 25 [OK]docker.io docker.io/kubernetes/fluentd-elasticsearch An image that ingests Docker container log... 25 docker.io docker.io/lmenezes/elasticsearch-kopf elasticsearch kopf 17 [OK]docker.io docker.io/bitnami/elasticsearch Bitnami Docker Image for Elasticsearch 15 [OK]docker.io docker.io/esystemstech/elasticsearch Debian based Elasticsearch packing for Lif... 14 docker.io docker.io/taskrabbit/elasticsearch-dump Import and export tools for elasticsearch 13 [OK]docker.io docker.io/monsantoco/elasticsearch ElasticSearch Docker image 11 [OK]docker.io docker.io/mesoscloud/elasticsearch [UNMAINTAINED] Elasticsearch 9 [OK]docker.io docker.io/blacktop/elasticsearch Alpine Linux based Elasticsearch Docker Image 8 [OK]docker.io docker.io/justwatch/elasticsearch_exporter Elasticsearch stats exporter for Prometheus 8 docker.io docker.io/centerforopenscience/elasticsearch Elasticsearch 4 [OK]docker.io docker.io/barchart/elasticsearch-aws Elasticsearch AWS node 3 docker.io docker.io/forkdelta/fluentd-elasticsearch fluent/fluentd with fluent-plugin-elastics... 1 [OK]docker.io docker.io/jetstack/elasticsearch-pet An elasticsearch image for kubernetes PetSets 1 [OK]docker.io docker.io/phenompeople/elasticsearch Elasticsearch is a powerful open source se... 1 [OK]docker.io docker.io/thingswise/elasticsearch Elasticsearch + etcd2 peer discovery 1 [OK]docker.io docker.io/18fgsa/elasticsearch Built from https://github.com/docker-libra... 0 docker.io docker.io/driveclutch/infra-elasticsearch-aws Elasticsearch Docker for use in AWS 0 [OK]docker.io docker.io/igneoussystems/base-elasticsearch A base image containing 3p tools for elast... 0 docker.io docker.io/igneoussystems/base-elasticsearch-5 Base elasticsearch 5.1.1 container 0 docker.io docker.io/wreulicke/elasticsearch elasticsearch 0 [OK][root@localhost ~]# docker pull registry.docker-cn.com/library/elasticsearchUsing default tag: latestTrying to pull repository registry.docker-cn.com/library/elasticsearch ... latest: Pulling from registry.docker-cn.com/library/elasticsearch05d1a5232b46: Pull complete 5cee356eda6b: Pull complete 89d3385f0fd3: Pull complete 65dd87f6620b: Pull complete 78a183a01190: Pull complete 1a4499c85f97: Pull complete 2c9d39b4bfc1: Pull complete 1b1cec2222c9: Pull complete 59ff4ce9df68: Pull complete 1976bc3ee432: Pull complete 5af49e8af381: Pull complete 42c8b75ff7af: Pull complete 7e6902915254: Pull complete 99853874fa54: Pull complete 596fbad6fcff: Pull complete Digest: sha256:a8081d995ef3443dc6d077093172a5931e02cdb8ffddbf05c67e01d348a9770eStatus: Downloaded newer image for registry.docker-cn.com/library/elasticsearch:latest[root@localhost ~]# docker psCONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES29e34ceff404 a829a97a0435 "docker-entrypoint..." 7 hours ago Up 6 hours 4369/tcp, 5671/tcp, 0.0.0.0:5672->5672/tcp, 15671/tcp, 25672/tcp, 0.0.0.0:15672->15672/tcp myrabbitmq[root@localhost ~]# [root@localhost ~]# [root@localhost ~]# docker imagesREPOSITORY TAG IMAGE ID CREATED SIZEdocker.io/tomcat latest 168588387c68 11 days ago 463 MBregistry.docker-cn.com/library/tomcat latest 168588387c68 11 days ago 463 MBregistry.docker-cn.com/library/rabbitmq 3-management a829a97a0435 11 days ago 212 MBregistry.docker-cn.com/library/redis latest 0f55cf3661e9 2 weeks ago 95 MBdocker.io/mysql latest 81f094a7e4cc 2 weeks ago 477 MBregistry.docker-cn.com/library/elasticsearch latest 5acf0e8da90b 5 months ago 486 MB[root@localhost ~]# [root@localhost ~]# [root@localhost ~]# [root@localhost ~]# docker run -e ES_JAVA_OPTS="-Xms256m -Xmx256m" -d -p 9200:9200 -p 9300:9300 --name SE01 5acf0e8da90bded4aeed13820c67290d72025bdf307f86169723064b4849b915a1c3997f9a32
转载于:https://blog.51cto.com/357712148/2352650