Skip to content

Commit a6658ff

Browse files

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed
 

‎Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -316,12 +316,12 @@ build_c-amazonlinux:
316316
# Run a 4-node testnet locally
317317
localnet-start: localnet-stop build-docker-localnode
318318
@if ! [ -f build/node0/config/genesis.json ]; then docker run --rm -v $(CURDIR)/build:/cometbft:Z cometbft/localnode testnet --config /etc/cometbft/config-template.toml --o . --starting-ip-address 192.167.10.2; fi
319-
docker-compose up
319+
docker compose up
320320
.PHONY: localnet-start
321321

322322
# Stop testnet
323323
localnet-stop:
324-
docker-compose down
324+
docker compose down
325325
.PHONY: localnet-stop
326326

327327
# Build hooks for dredd, to skip or add information on some steps

‎spec/ivy-proofs/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ The license above applies to all files in this folder.
2727
The easiest way to check the proofs is to use [Docker](https://www.docker.com/).
2828

2929
1. Install [Docker](https://docs.docker.com/get-docker/) and [Docker Compose](https://docs.docker.com/compose/install/).
30-
2. Build a Docker image: `docker-compose build`
31-
3. Run the proofs inside the Docker container: `docker-compose run
30+
2. Build a Docker image: `docker compose build`
31+
3. Run the proofs inside the Docker container: `docker compose run
3232
tendermint-proof`. This will check all the proofs with the `ivy_check`
3333
command and write the output of `ivy_check` to a subdirectory of `./output/'

‎test/e2e/runner/exec.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -39,20 +39,20 @@ func execVerbose(args ...string) error {
3939
// execCompose runs a Docker Compose command for a testnet.
4040
func execCompose(dir string, args ...string) error {
4141
return exec(append(
42-
[]string{"docker-compose", "-f", filepath.Join(dir, "docker-compose.yml")},
42+
[]string{"docker", "compose", "-f", filepath.Join(dir, "docker-compose.yml")},
4343
args...)...)
4444
}
4545

4646
func execComposeOutput(dir string, args ...string) ([]byte, error) {
4747
return execOutput(append(
48-
[]string{"docker-compose", "-f", filepath.Join(dir, "docker-compose.yml")},
48+
[]string{"docker", "compose", "-f", filepath.Join(dir, "docker-compose.yml")},
4949
args...)...)
5050
}
5151

5252
// execComposeVerbose runs a Docker Compose command for a testnet and displays its output.
5353
func execComposeVerbose(dir string, args ...string) error {
5454
return execVerbose(append(
55-
[]string{"docker-compose", "-f", filepath.Join(dir, "docker-compose.yml")},
55+
[]string{"docker", "compose", "-f", filepath.Join(dir, "docker-compose.yml")},
5656
args...)...)
5757
}
5858

0 commit comments

Comments
 (0)
Please sign in to comment.