GoCover.io offers the code coverage of any golang package as a service.
The sources are available on github.
Getting code coverage of a sofware requires running it's tests.
As executing all that code (running the tests) could be dangerous, it has to be done in a isolated environment.
That's why, each time you get the coverage of a package, the tests are run inside a docker container.