docker: changed scheduler to support more than one team.

related to #675.