pub async fn persist_user(
client: &DockerClient,
container: &str,
username: &str,
) -> Result<(), DockerError>Expand description
Persist a user’s credentials and lock state to the managed volume.
Stores the shadow hash (not plaintext) and lock status in a JSON record.