instructions for ubuntu
make sure port 6666 is open
if you have less than 2gb of ram, run this:
sudo dd if=/dev/zero of=swapfile bs=1M count=3000 && sudo mkswap swapfile && sudo chmod 0600 swapfile && sudo swapon swapfile
sudo apt-get update && sudo apt-get install -y apt-transport-https ca-certificates curl software-properties-common vim && curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - && sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" && sudo apt-get update && sudo apt-get install -y docker-ce
git clone https://github.com/raven-dark/seed-node.git && cd seed-node
sudo docker build -t xrd .
sudo docker run -d -p 6666:6666 -v ~/data:/root/data --name xrd xrd:latest
sudo tail -n 10 -f ~/data/debug.log
(ctrl + c to exit the log)
stop
sudo docker stop xrd
restart
sudo docker restart xrd
stop and remove container
sudo docker stop xrd && sudo docker rm xrd
start existing, stopped container
sudo docker start xrd