Skip to content

Commit 8000305

Browse files
Remove Docker Compose v1 support, require v2 only
Updates documentation and help text to reflect that only Docker Compose v2 (docker compose) is supported. Docker Compose v1 (docker-compose) is no longer maintained and users should use v2. Changes: - Update README requirements to specify Docker Compose v2 - Remove docker-compose command example, only show docker compose - Update all references from "Docker-Compose" to "Docker Compose" - Update Makefile help message to indicate v2 requirement 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
1 parent 301a639 commit 8000305

2 files changed

Lines changed: 6 additions & 7 deletions

File tree

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,5 +82,5 @@ prune: ## Remove ELK Containers and Delete ELK-related Volume Data (the elasti
8282
@docker volume prune -f --filter label=com.docker.compose.project=${COMPOSE_PROJECT_NAME}
8383

8484
help: ## Show this help.
85-
@echo "Make Application Docker Images and Containers using Docker-Compose files in 'docker' Dir."
85+
@echo "Make Application Docker Images and Containers using Docker Compose (v2) files."
8686
@awk 'BEGIN {FS = ":.*##"; printf "\nUsage:\n make \033[36m<target>\033[0m (default: help)\n\nTargets:\n"} /^[a-zA-Z_-]+:.*?##/ { printf " \033[36m%-12s\033[0m %s\n", $$1, $$2 }' $(MAKEFILE_LIST)

README.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ Stack Version: [9.2.3](https://www.elastic.co/guide/en/elasticsearch/reference/9
5252
- Anomaly Detection
5353
- SIEM (Security information and event management).
5454
- Enabling Trial License
55-
- Use Docker-Compose and `.env` to configure your entire stack parameters.
55+
- Use Docker Compose and `.env` to configure your entire stack parameters.
5656
- Persist Elasticsearch's Keystore and SSL Certifications.
5757
- Self-Monitoring Metrics Enabled (using Metricbeat for ES 9+).
5858
- Prometheus Exporters for Stack Metrics.
@@ -79,7 +79,7 @@ Elastdocker differs from `deviantony/docker-elk` in the following points.
7979

8080
- Parameterize all other Config like Heap Size.
8181

82-
- Add recommended environment configurations as Ulimits and Swap disable to the docker-compose.
82+
- Add recommended environment configurations as Ulimits and Swap disable to Docker Compose.
8383

8484
- Make it ready to be extended into a multinode cluster.
8585

@@ -108,8 +108,7 @@ Filebeat automatically discovers containers, parses logs, and ships them to Elas
108108

109109
# Requirements
110110

111-
- [Docker 20.05 or higher](https://docs.docker.com/install/)
112-
- [Docker-Compose 1.29 or higher](https://docs.docker.com/compose/install/)
111+
- [Docker 20.05 or higher](https://docs.docker.com/install/) with Docker Compose v2
113112
- 4GB RAM (For Windows and MacOS make sure Docker's VM has more than 4GB+ memory.)
114113

115114
# Setup
@@ -125,7 +124,7 @@ Filebeat automatically discovers containers, parses logs, and ships them to Elas
125124
> **For Linux's docker hosts only**. By default virtual memory [is not enough](https://www.elastic.co/guide/en/elasticsearch/reference/current/vm-max-map-count.html) so run the next command as root `sysctl -w vm.max_map_count=262144`
126125
3. Start Elastic Stack
127126
```bash
128-
$ make elk <OR> $ docker-compose up -d <OR> $ docker compose up -d
127+
$ make elk <OR> $ docker compose up -d
129128
```
130129
4. Visit Kibana at [https://localhost:5601](https://localhost:5601) or `https://<your_public_ip>:5601`
131130
@@ -206,7 +205,7 @@ make keystore
206205

207206
- Adding Two Extra Nodes to the cluster will make the cluster depending on them and won't start without them again.
208207

209-
- Makefile is a wrapper around `Docker-Compose` commands, use `make help` to know every command.
208+
- Makefile is a wrapper around `Docker Compose` commands, use `make help` to know every command.
210209

211210
- Elasticsearch will save its data to a volume named `elasticsearch-data`
212211

0 commit comments

Comments
 (0)