I have found the need to use this combo:
-v ~/.openhands:/.openhands \
-e OH_PERISTENCE_DIR=/.openhands \
If I leave persistence dir at default of ~/.openhands and mount there, it breaks settings.json. Feels like some kind of bug here but haven't dug into it.