Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker image does not run, even when opencontrol directory present #12

Open
shawndwells opened this issue Mar 11, 2019 · 0 comments
Open

Comments

@shawndwells
Copy link

$ ls -l $REPOSITORY/opencontrol
total 336
-rw-r--r--  1 shawn  staff  169840 Mar 11 19:21 opencontrol.yaml

$ docker container run -v $REPOSITORY:/opencontrol -p 127.0.0.1:8000:8000 --rm -it hypergrc:latest 
hyperGRC failed to start:
Path `/opencontrol` to Compliance as Code repository does not contain a file named opencontrol.yaml.

At first I thought the $REPOSITORY variable wasn't being expanded since the CLI has Path '/opencontrol' and not the full path. Same error when specifying the full path on the CLI:

docker container run -v /Users/shawn/Documents/src/GovReady/hyperGRC/agencyapp/opencontrol -p 127.0.0.1:8000:8000 --rm -it hypergrc:latest
hyperGRC failed to start:
Path `/opencontrol` to Compliance as Code repository was not found.
@shawndwells shawndwells changed the title Docker image does not run, even when opencontrol directory Docker image does not run, even when opencontrol directory present Mar 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant