Skip to content

Commit

Permalink
Replace docker-compose (V1) with docker compose (V2) (#490)
Browse files Browse the repository at this point in the history
* 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 <nurzhan.sakenov@gmail.com>
Signed-off-by: yamkovoy <100563712+yamkovoy@users.noreply.github.com>
Co-authored-by: yamkovoy <100563712+yamkovoy@users.noreply.github.com>
  • Loading branch information
nxsaken and yamkovoy authored Jun 26, 2024
1 parent 61eb82c commit c1520e4
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
4 changes: 2 additions & 2 deletions src/guide/advanced/running-iroha-on-bare-metal.md
Original file line number Diff line number Diff line change
Expand Up @@ -353,8 +353,8 @@ ports need to be adjusted so there are no collisions. See the

## Deploy a minimal BFT network

Both of there approaches are messy and error-prone, which is why the
tutorial uses `docker-compose`. However, this brings you closer to the
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.
However, this brings you closer to the
experience of actually maintaining a functional Iroha peer.

### Using Environment Variables
Expand Down
2 changes: 1 addition & 1 deletion src/guide/get-started/python.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ $ cp -vfr ~/Git/iroha/configs/client/config.json example/config.json
::: tip

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

Expand Down
6 changes: 2 additions & 4 deletions src/guide/get-started/quick-start.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,10 @@

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

3. Run `docker-compose` to bring up a network of 4 containerised peers:

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

```bash
$ docker-compose up
$ docker compose up
```

Depending on your set-up, this might either
Expand Down

0 comments on commit c1520e4

Please sign in to comment.