luckydonald / pbft

Implementation of the Practical Byzantine Fault Tolerant Algorithm (pbft)
https://github.com/luckydonald/pbft
GNU General Public License v3.0
135 stars 45 forks source link

step 5 docker-compose up -d node #15

Closed neonmike closed 2 years ago

neonmike commented 2 years ago

when I want repeat on Ubuntu 18.04
I get this error:

docker.errors.APIError: 400 Client Error: Bad Request ("b'OCI runtime create failed: container_linux.go:380: starting container process caused: exec: "/usr/lib/jvm/java-8-openjdk-amd64/bin/java": stat /usr/lib/jvm/java-8-openjdk-amd64/bin/java: no such file or directory: unknown'")

when I run step 4 :docker-compose scale node=4 get error ,I try step over this step

but step five alse have this question ?

@luckydonald can you give me any suggestion

luckydonald commented 2 years ago

No. I can sadly not give any hints, as I have not been using this for the past years. If you figure it out, please report back for other users who might be having the same issue.

neonmike commented 2 years ago

thinks @luckydonald

with times code have question about this

new docker version and docker compose version error

so choose right version

The recommended version is

detail version docker-ce | 5:18.09.0~3-0~ubuntu-bionic | https://download.docker.com/linux/ubuntu bionic/stable amd64 Packages

docker compose https://github.com/docker/compose/releases/tag/1.16.1 1.16.1

also question

unkown /usr/lib/jvm/java-8-openjdk-amd64/bin/java"

change

/usr/local/openjdk-8/bin/java

it about two issues

someone can fix this ,Initiate a request!

P.S.:test on ubuntu 18.04

neonmike commented 2 years ago

later I will pull request if I have times