Skip to content

Commit c1520e4

Browse files
nxsakenyamkovoy
andauthored
Replace docker-compose (V1) with docker compose (V2) (#490)
* Replace `docker-compose` (V1) with `docker compose` (V2) * Fix spelling in bare metal tutorial * Update src/guide/advanced/running-iroha-on-bare-metal.md --------- Signed-off-by: Nurzhan Saken <[email protected]> Signed-off-by: yamkovoy <[email protected]> Co-authored-by: yamkovoy <[email protected]>
1 parent 61eb82c commit c1520e4

File tree

3 files changed

+5
-7
lines changed

3 files changed

+5
-7
lines changed

src/guide/advanced/running-iroha-on-bare-metal.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -353,8 +353,8 @@ ports need to be adjusted so there are no collisions. See the
353353

354354
## Deploy a minimal BFT network
355355

356-
Both of there approaches are messy and error-prone, which is why the
357-
tutorial uses `docker-compose`. However, this brings you closer to the
356+
Both of the following approaches could be messy and error-prone, which is why the [Quick Start](../get-started/quick-start.md) tutorial suggests using the `docker compose` command.
357+
However, this brings you closer to the
358358
experience of actually maintaining a functional Iroha peer.
359359

360360
### Using Environment Variables

src/guide/get-started/python.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ $ cp -vfr ~/Git/iroha/configs/client/config.json example/config.json
5353
::: tip
5454

5555
You can also use the provided `config.json` in the `example` folder if you
56-
also call `docker-compose up` from that same folder. This has to do with
56+
also call `docker compose up` from that same folder. This has to do with
5757
the fact that the configuration for the Docker files in Iroha Python is
5858
slightly different.
5959

src/guide/get-started/quick-start.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,10 @@
77

88
2. [Install Iroha from GitHub](./install.md).
99

10-
3. Run `docker-compose` to bring up a network of 4 containerised peers:
11-
12-
<!-- Check Docker releases: `docker compose` is going to replace `docker-compose` -->
10+
3. Run `docker compose` to bring up a network of 4 containerised peers:
1311

1412
```bash
15-
$ docker-compose up
13+
$ docker compose up
1614
```
1715

1816
Depending on your set-up, this might either

0 commit comments

Comments
 (0)