1、下载 elasticsearch:8.0.0
[root@Tseng-HW ~]# docker pull elasticsearch:8.0.0
8.0.0: Pulling from library/elasticsearch
08c01a0ec47e: Pull complete
e3e05ed2996f: Pull complete
9b224114dffc: Pull complete
05cea41c4157: Pull complete
92b9aaf2174b: Pull complete
2a1679a442dc: Pull complete
dc605bce0f66: Pull complete
21b56a738e2f: Pull complete
1ac8103eda51: Pull complete
79d3a89ee02d: Pull complete
Digest: sha256:19f79b36495507ec53867ab40acaae448a9baa7820fb843be8cb5ede670bac5b
Status: Downloaded newer image for elasticsearch:8.0.0
docker.io/library/elasticsearch:8.0.0
[root@Tseng-HW ~]# docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
elasticsearch 8.0.0 fef75c42834f 13 days ago 1.19GB
[root@Tseng-HW ~]#