Mayor Christian Estrosi said the attacker has been taken into custody.
"I am on the scene with the police who arrested the attacker. Everything points to a terrorist attack," Estrosi tweeted Thursday morning.
France's Interior Minister Gérald Darmanin said he was chairing a crisis meeting at the ministry in response to the attack.
There is no official information yet on the condition of victims.