What is the difference between restarting and rebuilding the Bitcoin engine?
Short answer
Restarting reuses existing binaries and configuration; rebuilding compiles or recreates software artifacts. Neither should erase wallet or chain volumes.
Operational detail
Rebuilding a container image does not require deleting persistent volumes.
Full procedure
Rebuilding the Engine Binary or Docker Image Without Deleting Volumes
https://thamer.org/docs/bitcoin-engine-ops-safe-engine-rebuild
