Can i delete and rebuild the docker container without losing my progress

Hey there, I have an issue where my disk fills with logs, and i also want to have lower fees for payout, im using enkrypt wallet address and ran

docker run --rm -e SETUP=“true” --user $(id -u):$(id -g) --mount type=bind,source=“/Storage/Storj/Identity”,destination=/app/identity --mount type=bind,source=“/Storage/Storj/Settings”,destination=/app/config --name storagenode storjlabs/storagenode:latest

docker run -d --restart unless-stopped --stop-timeout 300 -p 28967:28967/tcp -p 28967:28967/udp -p 0.0.0.0:14002:14002 -e WALLET=“” -e EMAIL=“” -e ADDRESS=“:28967” -e STORAGE=“11TB” --mount type=bind,source=“/Storage/Storj/Identity”,destination=/app/identity --mount type=bind,source=“/Storage/Storj/Settings”,destination=/app/config --name storagenode storjlabs/storagenode:latest

i would like to know if i can safely remove the container with
docker stop id
docker rm -f id

docker run --rm -e SETUP=“true” --user $(id -u):$(id -g) --mount type=bind,source=“/Storage/Storj/Identity”,destination=/app/identity --mount type=bind,source=“/Storage/Storj/Settings”,destination=/app/config --name storagenode storjlabs/storagenode:latest

docker run -d --restart unless-stopped --stop-timeout 300 -p 28967:28967/tcp -p 28967:28967/udp -p 0.0.0.0:14002:14002 -e WALLET=“” -e EMAIL=“” -e ADDRESS=“:28967” -e STORAGE=“11TB” --mount type=bind,source=“/Storage/Storj/Identity”,destination=/app/identity --mount type=bind,source=“/Storage/Storj/Settings”,destination=/app/config --name storagenode storjlabs/storagenode:latest --operator.wallet-features=zksync-era,zksync --log-opt max-size=100m

can i safely perform these commands without losing progress
or do i have to do it differently, much thx

Please do not execute this command for the worked node, it should be executed only once and never again.

yes, this is how the docker containers are used.

This option should be provided before the image name, not after, because it’s a docker’s option, not a storagenode’s one.
I would also recommend to change the default number of logs with --log-opt max-file=3 option. It should be specified before the image name too.