Skip to content
This repository has been archived by the owner on Jan 24, 2023. It is now read-only.

mount volume #14

Open
wade-liwei opened this issue Jan 12, 2021 · 1 comment
Open

mount volume #14

wade-liwei opened this issue Jan 12, 2021 · 1 comment

Comments

@wade-liwei
Copy link

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.

@aliRamshini72
Copy link

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants