The president of the Nice region, Christian Estrosi, said the truck was loaded with weapons and grenades, and the driver had opened fire on the crowd.
"An individual drove a truck into the crowd. He was killed by police," said interior ministry spokesman Pierre-Henry Brandet.
A photograph showed the front of the truck riddled with bullet holes, and badly damaged with burst tyres.