docker search elasticsearch
2、拉取 7.12.1
版本 Elasticsearch 镜像
docker pull elasticsearch:7.12.1
7.12.1: Pulling from library/elasticsearch
7a0437f04f83: Pull complete
ed4a47ec20b2: Pull complete
74e4f4b7e738: Pull complete
ef2a2418a5f4: Pull complete
646dbf47f747: Pull complete
3ffbf21442fc: Pull complete
e04f00c0d464: Pull complete
Digest: sha256:622f854572780281bc85b5fde33be27e99670941ed8b7eea5ba4aaf533fa64ec
Status: Downloaded newer image for elasticsearch:7.12.1
docker.io/library/elasticsearch:7.12.1
REPOSITORY TAG IMAGE ID CREATED SIZE
redis latest e40e2763392d 12 months ago 138MB
redis/redis-stack latest 1915167b30ba 13 months ago 790MB
redis/redis-stack-server latest ebee26a6f063 13 months ago 462MB
elasticsearch 7.12.1 41dc8ea0f139 3 years ago 851MB
docker run --name elasticsearch-test -p 9200:9200 -p 9300:9300 -e "discovery.type=single-node" -d elasticsearch:7.12.1
fa025a8b22b9c81ca0ede872a7c34ff0cb2bd6a9859cd4331b9a7ed3f3697e16
{
"name" : "9b1b1e0e1d24",
"cluster_name" : "docker-cluster",
"cluster_uuid" : "s1mZvc97TZ--_iM9",
"version" : {
"number" : "8.x.x",
"build_flavor" : "default",
"build_type" : "docker",
"build_hash" : "abc123",
"build_date" : "2024-01-01T00:00:00.000Z",
"lucene_version" : "9.x.x",
"minimum_wire_compatibility_version" : "7.x.x",
"minimum_index_compatibility_version" : "7.x.x"
},
"tagline" : "You Know, for Search"
}