I'm wondering whether the GOGS Docker container is also running an the OpenSSH daemon inside the container?
Yes - the Gogs Docker Container runs the openssh daemon.
To see this first start the gogs docker container with the name gogs
and then run docker top gogs
. This will display a table showing all the processes running in the gogs container.