Open needed ports on your docker host server.
ufw logging on
ufw allow 22/tcp
ufw limit 22/tcp
ufw allow 8886/tcp
ufw allow 8800/tcp
ufw allow 9051/tcp
ufw default deny incoming
ufw default allow outgoing
yes | ufw enable
docker pull limxtec/bsd-masternode
docker run -p 8886:8886 -p 8800:8800 -p 9051:9051 --name bsd-masternode -e BSD_IP='BSD_IP' -e MN_KEY='YOUR_MN_KEY' -e WEB="${WEB}" -e BOOTSTRAP="${BOOTSTRAP}" -v /home/bitsend:/home/bitsend:rw -d <repository>/bsd-masternode
docker ps
Please execute docker run
without option --entrypoint bash
before you execute this commands:
tail -f /home/bitsend/.bitsend/debug.log
docker ps
docker exec -it bsd-masternode bash
# you are inside the bsd-masternode container
root@container# supervisorctl status bitsendd
root@container# cat /var/log/supervisor/supervisord.log
# Change to bitsend user
root@container# sudo su bitsend
bitsend@container# cat /home/bitsend/.bitsend/debug.log
bitsend@container# bitsend-cli getinfo
docker run -p 8886:8886 -p 8800:8800 -p 9051:9051 --name bsd-masternode -e BSD_IP='BSD_IP' -e MN_KEY='YOUR_MN_KEY' -e WEB="${WEB}" -e BOOTSTRAP="${BOOTSTRAP}" -v /home/bitsend:/home/bitsend:rw --entrypoint bash <repository>/bsd-masternode
docker stop bsd-masternode
docker rm bsd-masternode