Install Docker Desktop or Docker Engine
Install the appropriate Docker application for your operating system.
Make sure that Docker is allotted at least 4GiB of memory. In Docker Desktop, you configure resource usage on the Advanced tab in Preference (macOS) or Settings (Windows).
一:Install Elasticsearch with Docker
docker pull docker.elastic.co/elasticsearch/elasticsearch:8.9.0
Optional: Verify the Elasticsearch Docker image signature
Although it’s optional, we highly recommend verifying the signatures included with your downloaded Docker images to ensure that the images are valid.
Elastic images are signed with Cosign which is part of the Sigstore project.
Cosign supports container signing, verification, and storage in an OCI registry.
Install the appropriate Cosign application for your operating system.
The container image signature for Elasticsearch v8.9.0 can be verified as follows:
# Download the Elastic public key to verify container signature wget https://artifacts.elastic.co/cosign.pub # Verify the container against the Elastic public key cosign verify --key cosign.pub docker.elastic.co/elasticsearch/elasticsearch:8.9.0
二:Install Kibana with Docker
docker pull docker.elastic.co/kibana/kibana:8.9.0
三:Running Logstash on Docker
docker pull docker.elastic.co/logstash/logstash:8.9.0
四:Run Filebeat on Docker
docker pull docker.elastic.co/beats/filebeat:8.9.0
文章来源:https://www.toymoban.com/news/detail-620927.html
五:准备就绪
文章来源地址https://www.toymoban.com/news/detail-620927.html
到了这里,关于ELK环境搭建——Install with Docker的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!