A man has been arrested and charged following an attack on a taxi driver at a service station in Spotswood, in Melbourne's west.

Stewart Siwek, 37, faces eight charges, including engaging in conduct that put a person in danger of death, following his arrest at his Spotswood home on Sunday night.

Mr Siwek is accused of punching and kicking a 35-year-old taxi driver while the cabbie was filling up his car at a service station in Melbourne Road early on Sunday morning.

Police allege Mr Siwek began hitting the taxi driver with a window-washing squeegee, smashed the cab's side mirror and continued assaulting the driver.

The driver was knocked unconscious and taken to hospital in a stable condition.

Police on Sunday released CCTV footage of a man wearing an Essendon Football Club jumper as they appealed for information.

Mr Siwek did not appear before Melbourne Magistrates Court on Monday, but the court was told he had never been in custody before and could have an acquired brain injury.

He was remanded in custody to return to court on June 17.