Container is an object, body is a creature, but ask your DM
The jar is an object, matching the object definition on p. 204 PHB.
For the purpose of these rules, an object is a discrete, inanimate item like a window, door, sword, book, table, chair, or stone
The jar itself is not sentient, it is just housing the soul, and that does not make it a creature:
While your soul inhabits the container, you are aware of your surroundings as if you were in the container's space.
The body is a creature. In general, a creature is a body with a soul although there can be exceptions (see for example, many inhabitants of Barovia in Curse of Strahd); your soul is still your soul, just out of body.
The body is described as catatonic which means "in an immobile or unresponsive stupor" and alive, and only creatures can be alive. It is not inanimate (i.e. "lacking life"), as an object needs to be. The text "if your body is dead when you return to it...", also demonstrates that the body normally is not dead, thanks Mindwin.)
But this is an unusual setup, and neither the spell nor the rules do explicitly really say as what the body or container does count, so I'd expect the DM will have to decide how to handle this.