Closed joesixpack closed 5 years ago
Hi @joesixpack , sorry for the late reply we have been flat out with other issues.
Your issue seems to be related to an issue on the write permission on the host volume. I have been trying to reproduce your issue and I could not make it. Do you mind to provide also the docker version you are using?
In meanwhile I did a quick research on the topic and I found couple links which might be useful:
I was able to get it working with -v lightchain_docker:/srv/lightchain
Glad to hear you got it working :)
BTW, if you're in charge of the Docker container, could you add a latest tag to the repository? I would like to use that to make sure the latest release is always pulled.
Sure, that sounds like a good idea. We will do that on the next version release.
In meanwhile we already have a Dockerfile which build lightchain binary from the source code. Master branch is always including the latest stable version, therefore, you could just run:
make docker-dev
and it will generate a docker image with the tag lightchain:latest-dev
System information
Expected behaviour
Node should start and stay up.
Actual behaviour
Starts but ends with an error.
Steps to reproduce the behaviour
docker run -d --restart unless-stopped --name lightchain -v "C:\Users\J\Docker\lightchain_docker\":/srv/lightchain -e "NETWORK=mainnet" -p 8545:8545 -p 26657:26657 -p 26656:26656 lightstreams/lightchain:v1.2.0
Console output (if applicable)