An image forming apparatus includes: an image bearing body for bearing a
latent image; a plurality of attach/detach sections to each of which a
developer container for containing developer used for developing the
latent image can be attached; and a container attachment mechanism for
allowing a developer container containing developer of a certain color to
be attached to any of the plurality of attach/detach sections, and a
developer container containing developer of a color other than the
certain color to be attached only to a predetermined attach/detach
section of among the plurality of attach/detach sections.