eth0izzle / shhgit

Ah shhgit! Find secrets in your code. Secrets detection for your GitHub, GitLab and Bitbucket repositories.
MIT License
3.84k stars 481 forks source link

config.yaml is a directory #56

Closed PolarBearGod closed 4 years ago

PolarBearGod commented 4 years ago

Ran the following commands and am presented with a strange error that I cannot seem to figure out or find a solution for.

$ git clone https://github.com/eth0izzle/shhgit

Cloning into 'shhgit'...
remote: Enumerating objects: 218, done.
remote: Total 218 (delta 0), reused 0 (delta 0), pack-reused 218
Receiving objects: 100% (218/218), 3.21 MiB | 6.93 MiB/s, done.
Resolving deltas: 100% (127/127), done.

$ cd shhgit/ && vim config.yaml Here I add my Github API key.

Run the command to get the container 'running' as in the README.md: $ docker run -v config.yaml:/config.yaml:ro eth0izzle/shhgit

The command hands for a brief second and spits out:

read /config.yaml: is a directory

Running docker ps does not show the container at all.

Any help would be appreciated.

eth0izzle commented 4 years ago

You need to use a absolute local path. I will update the docs to reflect this. The following should work:

$ docker run -v $(pwd)/config.yaml:/config.yaml:ro eth0izzle/shhgit