A Wollongong man has been jailed after he punched a bus driver and spat at people during a string of violent outbursts.