1. An image forming apparatus comprising a movable moving body to and from which a developer container for containing developer can be attached and detached, wherein upon detachment of said developer container that is attached to said moving body, said image forming apparatus temporarily halts said moving body at least once while said moving body moves to a predetermined detachment position at which said developer container can be detached.