Problem with running OSSF Scorecards in Docker container


I would like to run an OSS scorecard ( from a docker container

I have downloaded Docker Desktop on my Windows 10 Enterprise laptop, installed the software and verified that I am able to build and run the "Getting Started" image (alpine – docker101tuturial).

After that I have opened a command prompt and downloaded OSSF package using Git Auth Token:

set GITHUB_AUTH_TOKEN=<my access token>
docker login -u myuser -p %GITHUB_AUTH_TOKEN%
docker pull

as a next step, OSSF manual says that I need to execute the following commands in the container (???):

$ go build
$ ./scorecard

So I have started the container (Docker desktop displays the container in status running):

docker run -d --name scorecard

Then I am trying to connect to container shell with the following command:
docker exec -it scorecard bash

and getting a message that there is no shell in my container (OCI runtime exec failed: exec failed: container_linux.go:370: starting container process caused: exec: "bash": executable file not found in $PATH: unknown)

So apparently I have to find some other way to run the contents of the container (the ./scorecard command), which leaves me puzzled. I would be grateful for any hints.

PS I am completely new to docker, so I apologize for a noob question in advance 🙂

Source: Docker Questions