A machining device (10, 50, 200, 300, 400, 500) for an element to be machined, in particular a metal container, said device comprising: a moving unit (12, 54, 201, 401, 5) designed to perform a cyclical movement, in particular, a machining unit (14, 58, 202, 302, 402) which is designed to be moveable relative to the moving unit (12, 54) at least in the direction of movement of the moving unit (12, 54) inside the machining device (10, 50) and which is designed to machine the element to be machined with a relative speed, in the direction of movement relative to the element to be machined, which is reduced in comparison with that of the moving unit (12, 54), in particular to zero, and a control element (18, 64, 204, 304, 404, 503), wherein the moving unit (12, 54, 201, 401) is provided with an acceleration unit (20, 60, 203, 303, 403, 502), characterized in that the control element (18, 64, 204, 304, 404, 503) and the acceleration unit (20, 60, 203, 303, 403, 502) are designed in such a way that a movement of at least one part of the acceleration unit (20, 60, 203, 303, 403, 502) with at least one component of movement transverse to the direction of movement of the moving unit (12, 54, 201, 401) is mechanically associated with a movement of the moving unit (12, 54, 201, 401) relative to the control element (18, 64, 204, 304, 404, 503), and in that the acceleration unit (20, 60, 203, 303, 403, 502) is designed in such a way that producing a relative acceleration of the machining unit (14, 58, 202, 302, 402) in relation to the moving unit (12, 54, 201, 401) in the direction of movement of the moving unit (12, 54, 201, 401) is mechanically associated with the movement of at least said part of the acceleration unit (20, 60, 203, 303, 403, 502). a moving unit (12, 54, 201, 401, 5) designed to perform a cyclical movement, in particular, a machining unit (14, 58, 202, 302, 402) which is designed to be moveable relative to the moving unit (12, 54) at least in the direction of movement of the moving unit (12, 54) inside the machining device (10, 50) and which is designed to machine the element to be machined with a relative speed, in the direction of movement relative to the element to be machined, which is reduced in comparison with that of the moving unit (12, 54), in particular to zero, and a control element (18, 64, 204, 304, 404, 503), wherein the moving unit (12, 54, 201, 401) is provided with an acceleration unit (20, 60, 203, 303, 403, 502), characterized in that the control element (18, 64, 204, 304, 404, 503) and the acceleration unit (20, 60, 203, 303, 403, 502) are designed in such a way that a movement of at least one part of the acceleration unit (20, 60, 203, 303, 403, 502) with at least one component of movement transverse to the direction of movement of the moving unit (12, 54, 201, 401) is mechanically associated with a movement of the moving unit (12, 54, 201, 401) relative to the control element (18, 64, 204, 304, 404, 503), and in that the acceleration unit (20, 60, 203, 303, 403, 502) is designed in such a way that producing a relative acceleration of the machining unit (14, 58, 202, 302, 402) in relation to the moving unit (12, 54, 201, 401) in the direction of movement of the moving unit (12, 54, 201, 401) is mechanically associated with the movement of at least said part of the acceleration unit (20, 60, 203, 303, 403, 502).