Jittering after adding Rigidbody2d and collider on 2d sprite

My sprite object(smaller) is moving on another sprite(bigger) object so how to detect that that smaller object should always be in the boundries of bigger object?

I have added rigidbody2d on smaller object and the added collider on boundries but now there is jitter in the movement of smaller object…

Any suggestions or reasons why jittering?

My guess is:If your smaller sprite’s angular drag/linear drag is much smaller than its mass then it will begin jittering if it knocks into things that give it a force as it cannot counteract the force with its “friction” or linear drag,etc.