Open wade-liwei opened 3 years ago
hi run this command and add volume docker run -d --name binance-node -v {snapshot}:/home/bnbchaind/.bnbchaind/ -p 27146:27146 -p 27147:27147 -p 26660:26660 --restart unless-stopped --security-opt no-new-privileges --ulimit nofile=16000:16000 varnav/binance-node
Could you share me how to mount the host volume for /home/bnbchaind/.bnbchaind/ ?
I have tried the dir /home/bnbchaind/.bnbchaind/ in container, but bnbchaind panic. if I tried the /home/bnbchaind/ , I found out lost the directories: .bash_logout .bashrc .profile .wget-hsts , but the bnbchaind works fine.