Need to use a jump host to connect to remote host

I’m new to Docker, so please bear with me…

Using Docker Desktop for Windows 3.1.0 51484 on WIndows 10 64 bit.

I’ve created an image that has a Python script that uses Paramiko to connect to a remote host using SSH. The remote host has a list of trusted hosts, and my desktop PC is not on that list. I do have access to one of the trusted hosts, so I would like to relay my requests through that trusted host.

The Python script that I am using used to live on the trusted host, so I know that it works fine.

Is there a way to configure my docker image to use that trusted host to relay commands to the remote host? How about configuring Docker Desktop in general?

Any help is appreciated!