Run steemd in Docker, efficiently.
There is already steemd-docker,
so why another Docker image for steemd
?
There is one major issue with the approached being used there. When using Docker Machine, mounting a local directory as a volume degrades performance significantly. That's why the image presented in this repository uses a different way - a data volume container.
Let's see how to make the whole thing work.
- Create -
docker create -v /steemdata --name steemdata ubuntu:16.04 /bin/true
In you are using Docker Machine, use HOST
set to 0.0.0.0
,
otherwise you can use 127.0.0.0
just fine.
- Build -
docker build -t steemd:dockerized .
There is a bunch of arguments available, please checkDockerfile
for what is possible to overwrite. - Configure - Copy
config.ini.example
toconfig.ini
and modify as needed. - Run -
docker run -d -p $HOST:8090:8090 --volumes-from steemdata --name steemd steemd:dockerized
- You can see what is happening now by running
docker logs -f steemd
.
Feel free to upvote the effort on Steemit.