Hello @t-bast! sorry to disturb you again.
i tried your solution to fix tendermint 0.18.0 issue but i got that error message when i tried to create indigo process.
docker: Error response from daemon: OCI runtime create failed: container_linux.go:348: starting container process caused "exec: \"/usr/bin/tendermint\": permission denied": unknown.
This is what i done:
1- get tendermint docker repository here : https://github.com/tendermint/tendermint/tree/master/DOCKER
2- get tendermint 0.18.0 binary here https://github.com/tendermint/tendermint/releases/download/v0.18.0-autodraft/tendermint_0.18.0_linux_amd64.zip and copied at root of DOCKER repository
3- at root of DOCKER repository run this command sudo docker build -t tendermint . and this sudo docker tag tendermint tendermint/tendermint:0.18.0
4- run this command sudo docker image ls to check if i have correctly created tendermint 0.18.0 image. I got this output
REPOSITORY TAG IMAGE ID CREATED SIZE
tendermint latest 5144420b518a 32 minutes ago 38.9MB
tendermint/tendermint 0.18.0 5144420b518a 32 minutes ago 38.9MB
alpine 3.7 3fd9065eaf02 4 months ago 4.15MB
But after when i tried to create my indigo process i got error below.
Can you tell me what i done wrong ? Sorry i'm not docker expert :(
FROM alpine:3.7
genesis_file
in config.toml). You can put your config.toml and private#
ENV DATA_ROOT /tendermint
ENV TMHOME $DATA_ROOT
RUN addgroup tmuser && \
adduser -S -G tmuser tmuser
RUN mkdir -p $DATA_ROOT && \
chown -R tmuser:tmuser $DATA_ROOT
pub_key
from private validator whileRUN apk add --no-cache bash curl jq
RUN apk add --no-cache openssl && \
wget https://github.com/tendermint/tendermint/releases/download/v0.18.0/tendermint_0.18.0_linux_amd64.zip && \
unzip -d /bin tendermint_0.18.0_linux_amd64.zip && \
apk del openssl && \
rm -f tendermint_0.18.0_linux_amd64.zip
VOLUME $DATA_ROOT
EXPOSE 46656
EXPOSE 46657
ENTRYPOINT ["tendermint"]
CMD ["node", "--moniker=hostname
"]
Good morning @t-bast, @alexppxela - trying out Indigo Framework, very impressed so far
I worked my way out of the machine clustering thing, however I'm bumping into a disk size issue, as the data folder of my nodes keeps growing after the node is started and mining, regardless of whether my blocks contain any data.
Tried modifying create_empty_blocks = true and create_empty_blocks_interval = 0 in tendermint config.toml, without visible effect (I suspect this file is ignored, at least at node startup time)
Tried passing in --create_empty_blocks=false at CLI, no more success
I suspect this has to do with the AppHash changing at every block, hence the --create_empty_blocks directive being ignored - same as tendermint/ethermint#308
Can you help me out of this swamp?
Thanks