A portable apparatus (1) for milking of animals (11-16) which are permitted to go loose is described. The apparatus (1) comprises a plurality of stalls (2) with at least one local milk tank (4) in each stall. The apparatus (1) comprises at least two separate lines (19, 20) arranged to receive the milk from the local milk tanks (4) in dependence of the quality of the milk.