To be like sardines in a can is a coloquial idiom used to describe a large amount of people in a small place.
For example: The concert was so crowded, we were like sardines in a can
English for adults : Exam Guides for students: Lesson Plans for teachers