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