Then you misunderstand what docker is.
You still get the source code it's just packaged inside a docker container, it's closer to a VM than a binary.
It also depends how they package the docker, the source might be held outside the container in a user specifed folder, or the user might have to "login" to the container, but either way the source is freely accessible.