Token2Shell uses the same private and public key file format as OpenSSH. Thus if you would like to share the private keys created in Token2Shell with the OpenSSH client in Docker containers, you simply need to copy them to ~/.ssh directory.

When you open a Docker Console, you're directly connecting to the container; OpenSSH server is not used. Hence, you cannot use SSH agent-forwarding for accessing the private keys in Token2Shell.