Skip to content

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

@shawndwells

Description

@shawndwells
$ 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions