Removing storage environment flag from the Docker command

I think I am going to remove the space setting from the Docker run command and use the config file instead.
Can I simply remove it and uncomment the line in the config file or is there anything else to consider?
Will I still have to stop and remove the container when I change the storage size or is there a way to reload the config file while the container is running?

Seems you can storj/entrypoint at 466832e4bcf5f6fa2b49221bf9643d71548f5a78 · storj/storj · GitHub

To reload parameters from the config file you need either restart the container or re-create it.

So docker stop storagenode && docker start storagenode would be sufficient to make the new space value come into effect? That would be nice.


docker restart -t 300 storagenode
1 Like