How to downgrade the agent installed in docker

Can anyone help me on how to downgrade the agent in the test project? I currently have version 3.5.0 and I want to down grade it to lesser version? Thank you.

Can anyone update me here please?