Closed ilyaorlov25 closed 1 year ago
network_mode: host
-- вот это нужно убрать.
Fixed.
smart@thinkpad$ docker compose --verbose up
[+] Running 4/4
✔ Network blockchainnetworkprogramming_default Created 0.0s
✔ Container node3 Created 0.1s
✔ Container node2 Created 0.1s
✔ Container node1 Created 0.1s
Attaching to node1, node2, node3
node3 | Unable to connect to group on port 8001
node3 | Unable to connect to group on port 8002
node2 | Unable to connect to group on port 8001
node2 | Unable to connect to group on port 8003
node3 | Unable to connect to group on port 8001
node3 | Unable to connect to group on port 8002
node1 | Unable to connect to group on port 8002
node1 | Unable to connect to group on port 8003
node2 | Unable to connect to group on port 8001
node2 | Unable to connect to group on port 8003
node1 | Unable to connect to group on port 8002
node1 | Unable to connect to group on port 8003
node3 | Unable to connect to group on port 8001
node3 | Unable to connect to group on port 8002
node3 | Unable to connect to group on port 8001
node3 | Unable to connect to group on port 8002
node1 | Unable to connect to group on port 8002
node1 | Unable to connect to group on port 8003
node3 | Unable to connect to group on port 8001
node3 | Unable to connect to group on port 8002
node1 | Unable to connect to group on port 8002
node1 | Unable to connect to group on port 8003
node3 | Unable to connect to group on port 8001
node3 | Unable to connect to group on port 8002
node1 | Unable to connect to group on port 8002
node1 | Unable to connect to group on port 8003
^CGracefully stopping... (press Ctrl+C again to force)
Кроме того, вообще нет причин сажать ноды на разные порты...
@ilyaorlov25 ping
@SemenMartynov переделал в итоге по-другому задание без network_mode: host
, добавил его как новое issue — #332
Понял. Пойду смотреть новое решение.
Fixed again
Student, group: Ilya Orlov, 3530901/90203 URL: https://github.com/ilyaorlov25/BlockchainNetworkProgramming Any comments: Kotlin, git-flow