This Dockerfile builds and runs a Limenka Knots full node from source.
make sure you're at the root of the repo first!
docker build \
-f contrib/docker/Dockerfile \
-t limenkaknots \
--build-arg USER_ID=$(id -u) \
--build-arg GROUP_ID=$(id -g) \
--load .
docker run -d \
--init \
--user $(id -u):$(id -g) \
--name limenkaknots \
-p 8333:8333 -p 127.0.0.1:8332:8332 \
-v path/to/conf:/etc/limenka/limenka.conf:ro \
-v path/to/data:/var/lib/limenkad:rw \
limenkaknots
In case you want to use ZeroMQ sockets, make sure to expose those ports as well by adding -p host_port:container_port directives to the command above.
In case path/to/data is not writable by your user, consider overriding the --user flag.
This will:
/path/to/datadocker logs limenkaknots
docker stop limenkaknots