A police car has been rammed in Melbourne's south by the angry driver of a Holden Commodore with a flat tyre.

Police stopped the driver on Plantation Avenue in Frankston North after noticing he had a flat tyre about 7.45pm on Sunday.

But the raging driver allegedly got out of the car and approached the officers aggressively.

They used capsicum spray to try to subdue the man, but he returned to his car and began to drive off.

The officers returned to their car, when the Commodore driver did a U-turn and began ramming the police car.