Jump to content

How to Run denariusd Wallet Deamon [Docker]


buzzkillb
 Share

Recommended Posts

Docker can be used to run a denariusd wallet daemon. It can also run multple FortunaStakes very easily. No need to mess with compiling or downloading binaries. My github has some basics for the docker image I created.

https://github.com/buzzkillb/denariusDocker

First install docker on ubuntu. Don't forget to usermod your user account to run docker commands without using sudo.
https://docs.docker.com/install/linux/docker-ce/ubuntu/

Once docker-ce is running lets grab my docker image.

docker run --name=denariusd --rm -t -v ~/.denarius:/data -P buzzkillb/denariusd

First thing we notice is that we need a denarius.conf in the ~/.denarius folder. Lets make one with what we need.

nano ~/.denarius/denarius.conf
rpcuser=usernamechangeme
rpcpassword=passwordchangeme

Save and now run the above command again.

docker run --name=denariusd --rm -t -v ~/.denarius:/data -P buzzkillb/denariusd

Was that easy or what? Now to run this in the background add -d flag.

docker run --name=denariusd --rm -t -d -v ~/.denarius:/data -P buzzkillb/denariusd

With the output not being shown. Lets watch the printtoconsole lines in the docker container.

docker logs denariusd -f

To list all your containers.

docker ps

To stop your container.

docker stop denariusd

You can run more than 1 container of denariusd, example below

docker run --name=FS01 --rm -t -d -v ~/FS01:/data -P buzzkillb/denariusd

Have fun!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...