MANILA — Relatives of eight people killed by Philippine police officers during President Rodrigo Duterte’s war on drugs have accused the president of murder in a complaint filed with the International Criminal Court, their lawyer said on Tuesday.

The complaint is the second brought at the Hague-based court against Mr. Duterte, 73, over the anti-narcotics crackdown, which has left thousands dead at the hands of police officers and unknown gunmen since he took office in 2016.

Neri Colmenares, president of the National Union of People’s Lawyers, which is representing the family members of the slain Filipinos, said they hoped to hold Mr. Duterte accountable “for his crimes against humanity committed through acts of murder for the extrajudicial killings of thousands of Filipinos and other inhumane acts.”

The complaint is unlikely to have much practical effect, since Mr. Duterte’s government does not recognize the international court. He said in March that he was withdrawing the Philippines from the treaty that established it.