$ 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.
At first I thought the
$REPOSITORY
variable wasn't being expanded since the CLI hasPath '/opencontrol'
and not the full path. Same error when specifying the full path on the CLI: