William Wadri and Benjamin Mosha scored Bandari's goals while Cape Town City FC's scorers were David Chris and Mthembu Siphele at the Hartleyvale Stadium on Wednesday.
The Dockers are in South Africa for the pre-season programme and will leave for Rwanda before the Cecafa Kagame Cup tournament kicks-off on July 7. The training camp will also serve to help the players keep fit ahead of the 2019/20 KPL season that is set to start at the end of August.
"The match was the right test for the boys. Temperatures here are13 degrees which are lower than Mombasa which is good for preparations in Rwanda, where we shall represent the country," Bernard Mwalala, Bandari's head coach told Goal.