Docker (and not just Docker Desktop) on a MacOS can be awfully slow, especially for developers when the container is accessing files on the local drive via a volume mount....
I describe an approach taken to use SSH from a docker container to allow access to resources secured behind a bastion server.