Container restarting, what to do

root@nas:~# docker exec -it storagenode /app/dashboard.sh
Error response from daemon: Container 8a494d968392e18a8aec9ba7b5e4b76451021c83efa85ace759b7c4d3e16f155 is restarting, wait until the container is running

I have removed the container and installed again but the same error…

my command:

docker run -d --restart unless-stopped --stop-timeout 300
-p 28967:28967
-p 127.0.0.1:14002:14002
-e WALLET=“xxxxxxxxxxxxxxxxxxxxxxxxxxxxx”
-e EMAIL="xxxxxxxx@gmail.com"
-e ADDRESS=“xxxxxxxxx:28967”
-e STORAGE=“7TB”
–mount type=bind,source=“/root/.local/share/storj/identity/storagenode”,destination=/app/identity
–mount type=bind,source=“/storj/data”,destination=/app/config
–name storagenode storjlabs/storagenode:latest

You can check if:

  • Identity folder has 6 files
  • There are no curly quotes in your command.
  • It is a single line command or if it spans multiple lines then it matches the documentation accordingly.

Does the command docker logs storagenode returns anything useful?