Open 6r1d opened 1 year ago
Ubuntu 20.04.5, Docker 20.10.23, build 7155243
Use the initial command from the docs to create two peers.
1) Create a docker network using "docker network create iroha-network" 2) Created a PostgreSQL container using:
docker run --name some-postgres \ -e POSTGRES_USER=postgres \ -e POSTGRES_PASSWORD=mysecretpassword \ -p 5432:5432 \ --network=iroha-network \ -d postgres:9.5 \ -c 'max_prepared_transactions=100'
3) Created a block store using docker volume create blockstore 4) Docs -> iroha-swarm 5) Clone the iroha-swarm repository 6) Run the commands to generate and run a network of 2 iroha nodes locally
docker volume create blockstore
./iroha-swarm.sh 2 --localhost "ERROR !!! Unhandled non-option argument '2'
The swarm config is generated normally.
As commented by @baziorek, the current command should probably be --peers_count=2.
--peers_count=2
OS and Environment
Ubuntu 20.04.5, Docker 20.10.23, build 7155243
Minimum working example / Steps to reproduce
Use the initial command from the docs to create two peers.
1) Create a docker network using "docker network create iroha-network" 2) Created a PostgreSQL container using:
3) Created a block store using
docker volume create blockstore
4) Docs -> iroha-swarm 5) Clone the iroha-swarm repository 6) Run the commands to generate and run a network of 2 iroha nodes locallyActual result
Expected result
The swarm config is generated normally.