A compressor provided inside a hermetically sealed container, the compressor comprising: a stator generating an electromagnetic force inside the stator; a first rotary member rotating around a center line of a first rotary shaft longitudinally extending concentrically with the center of the stator by a rotating electromagnetic field from the stator; a second rotary member for eccentrically rotating with respect to the first rotary member and compressing a refrigerant in a compression space while rotating around a second rotary shaft upon receipt of a rotational force from the first rotary member; and a vane for transmitting the rotational force to the second rotary member from the first rotary member, and partitioning the compression space into a suction region for sucking the refrigerant and a compression region for compressing/discharging the refrigerant, characterized in that the first rotary member is rotating within the stator, wherein the first rotary member comprises a cylindrical rotor unit rotating within the stator and having a plurality of permanent magnets inserted therein in an axial direction and a cylinder unit inside the rotor unit, wherein the rotor unit and the cylinder unit are separately manufactured and coupled by matching the corresponding mounting projection and groove on the inner peripheral surface of the rotor unit and the outer peripheral surface of the cylinder unit, the center line of the second rotary shaft is spaced apart from the center line of the first rotary shaft or the center line of the second rotary shaft coincides with the center line of the first rotary shaft and the longitudinal center line of the second rotary member is spaced apart from the center lines of the first rotary shaft and second rotary shaft, wherein the first rotary member further comprises a first cover and a second cover coupled to upper and lower parts of the first rotary member for forming the compression space between the first rotary member and the second rotary member while integrally rotating with the first rotary members, wherein the second rotary member further comprises a roller forming the compression space together with the first rotary member and a second rotary shaft axially projecting on both axial sides of the roller and rotating integrally with the roller, and a portion projecting on the bottom surface of the roller is longer than a portion projecting on the top surface of the roller, and wherein a bearing member (150, 160) fixed to the inside of the hermetically sealed container is further provided for rotatably supporting the first and second covers (133, 134) and the second rotary shaft. a stator generating an electromagnetic force inside the stator; a first rotary member rotating around a center line of a first rotary shaft longitudinally extending concentrically with the center of the stator by a rotating electromagnetic field from the stator; a second rotary member for eccentrically rotating with respect to the first rotary member and compressing a refrigerant in a compression space while rotating around a second rotary shaft upon receipt of a rotational force from the first rotary member; and a vane for transmitting the rotational force to the second rotary member from the first rotary member, and partitioning the compression space into a suction region for sucking the refrigerant and a compression region for compressing/discharging the refrigerant, characterized in that the first rotary member is rotating within the stator, wherein the first rotary member comprises a cylindrical rotor unit rotating within the stator and having a plurality of permanent magnets inserted therein in an axial direction and a cylinder unit inside the rotor unit, wherein the rotor unit and the cylinder unit are separately manufactured and coupled by matching the corresponding mounting projection and groove on the inner peripheral surface of the rotor unit and the outer peripheral surface of the cylinder unit, the center line of the second rotary shaft is spaced apart from the center line of the first rotary shaft or the center line of the second rotary shaft coincides with the center line of the first rotary shaft and the longitudinal center line of the second rotary member is spaced apart from the center lines of the first rotary shaft and second rotary shaft, wherein the first rotary member further comprises a first cover and a second cover coupled to upper and lower parts of the first rotary member for forming the compression space between the first rotary member and the second rotary member while integrally rotating with the first rotary members, wherein the second rotary member further comprises a roller forming the compression space together with the first rotary member and a second rotary shaft axially projecting on both axial sides of the roller and rotating integrally with the roller, and a portion projecting on the bottom surface of the roller is longer than a portion projecting on the top surface of the roller, and wherein a bearing member (150, 160) fixed to the inside of the hermetically sealed container is further provided for rotatably supporting the first and second covers (133, 134) and the second rotary shaft.