Container restarting, what to do

root@nas:~# docker exec -it storagenode /app/
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
-e WALLET=“xxxxxxxxxxxxxxxxxxxxxxxxxxxxx”
-e EMAIL=""
-e ADDRESS=“xxxxxxxxx:28967”
–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?