Đokić entered political life as a member of the People's Party (Narodna), which was part of the United for the Victory of Serbia (UZPS) coalition in 2022.[3] He led the UZPS's electoral list for Bajina Bašta in the 2022 Serbian local elections and was elected when the list won nine mandates.[4] The Serbian Progressive Party (SNS) and its allies won a majority victory in the municipality, and the UZPS delegates serve in opposition.[5]
Đokić also appeared in the forty-ninth position on the UZPS's list in the 2022 Serbian parliamentary election, which was held concurrently with the local vote.[6] The list won thirty-eight seats, and he was not elected.
The People's Party experienced a serious split in August 2023, and Đokić joined Miroslav Aleksić's breakaway People's Movement of Serbia.[7]
The NPS participated in the Serbia Against Violence (SPN) coalition, a successor to the UZPS, in the 2023 parliamentary election. Đokić received the thirty-second position on the coalition's list and when elected when it won sixty-five mandates.[8] The SNS and its allies won a majority victory, and he serves in opposition as a member of the NPS–New Face of Serbia (NLS) assembly group.
Đokić is a member of the committee on constitutional and legislative issues and a deputy member of the economy committee[a] and the administrative committee.[b][9] He is a vice-president of the NPS and as of 2024 he remains a member of the municipal assembly in Bajina Bašta.[10][11]