A powder container comprising: a discharge port configured to discharge the powder from an inside to an outside of the powder container; a container identifier shape portion (111; 161) that is provided in an end surface of the powder container to identify a type of the powder container, the end surface being in a front side of the powder container in an insertion direction in which the powder container is inserted and set in a main body of an image forming apparatus and which is parallel to a centre line of the powder container; a first container interlocking portion (110; 190) configured to interlock with a first main-body interlocking portion (212; 291) of the image forming apparatus at the time of setting in the main body of the image forming apparatus; and a second container interlocking portion (111; 161) configured to start to interlock with a second main-body interlocking portion (215; 295) of the image forming apparatus after the first container interlocking portion (110; 190) starts to interlock with the first main-body interlocking portion (212; 291), wherein a position of the second container interlocking portion (111; 161), as the container identifier shape portion, relative to the first container interlocking portion (110; 190) in a circumferential direction is different depending on the type of the powder container, characterised in that the first main-body interlocking portion (212; 291), which interlocks with the first container interlocking portion (110; 190) at the time of setting in the main body of the image forming apparatus, serves as a rotation drive output unit configured to rotate by receiving a drive input from a drive source of the main body of the image forming apparatus, and the first container interlocking portion (110; 190) serves as a rotation drive input unit configured to interlock with the first main-body interlocking portion (212; 291), receive the rotation drive input, and rotate about the centre line. a discharge port configured to discharge the powder from an inside to an outside of the powder container; a container identifier shape portion (111; 161) that is provided in an end surface of the powder container to identify a type of the powder container, the end surface being in a front side of the powder container in an insertion direction in which the powder container is inserted and set in a main body of an image forming apparatus and which is parallel to a centre line of the powder container; a first container interlocking portion (110; 190) configured to interlock with a first main-body interlocking portion (212; 291) of the image forming apparatus at the time of setting in the main body of the image forming apparatus; and a second container interlocking portion (111; 161) configured to start to interlock with a second main-body interlocking portion (215; 295) of the image forming apparatus after the first container interlocking portion (110; 190) starts to interlock with the first main-body interlocking portion (212; 291), wherein a position of the second container interlocking portion (111; 161), as the container identifier shape portion, relative to the first container interlocking portion (110; 190) in a circumferential direction is different depending on the type of the powder container, characterised in that the first main-body interlocking portion (212; 291), which interlocks with the first container interlocking portion (110; 190) at the time of setting in the main body of the image forming apparatus, serves as a rotation drive output unit configured to rotate by receiving a drive input from a drive source of the main body of the image forming apparatus, and the first container interlocking portion (110; 190) serves as a rotation drive input unit configured to interlock with the first main-body interlocking portion (212; 291), receive the rotation drive input, and rotate about the centre line.