Skip to content

build error docker rest VV 2.0 #75

@AnotherSimon

Description

@AnotherSimon

A bit late to the 2.0 party but I seem to be getting a build error using docker on version c034e95.

Followed the instructions at DOCKER.md (seemingly without errors) up to docker-compose up at which point I see the following error:

$ docker-compose up
Creating network "rest_variantvalidator_default" with the default driver
Creating volume "rest_variantvalidator_share" with local driver
Creating volume "rest_variantvalidator_seqdata" with local driver
Creating volume "rest_variantvalidator_logs" with local driver
Creating rest_variantvalidator_seqrepo_1 ... error
Creating rest_variantvalidator_vdb_1     ... 
Creating rest_variantvalidator_vvta_1    ... 
Creating rest_variantvalidator_vdb_1     ... done
Creating rest_variantvalidator_vvta_1    ... done
Creating rest_variantvalidator_restvv_1  ... error

ERROR: for rest_variantvalidator_restvv_1  Cannot start service restvv: error while mounting volume '/var/lib/docker/volumes/rest_variantvalidator_seqdata/_data': failed to mount local volume: mount /home/simon/variantvalidator_data/share/seqrepo:/var/lib/docker/volumes/rest_variantvalidator_seqdata/_data, flags: 0x1000: no such file or directory

ERROR: for seqrepo  Cannot create container for service seqrepo: failed to mount local volume: mount /home/simon/variantvalidator_data/share/seqrepo:/var/lib/docker/volumes/rest_variantvalidator_seqdata/_data, flags: 0x1000: no such file or directory

ERROR: for restvv  Cannot start service restvv: error while mounting volume '/var/lib/docker/volumes/rest_variantvalidator_seqdata/_data': failed to mount local volume: mount /home/simon/variantvalidator_data/share/seqrepo:/var/lib/docker/volumes/rest_variantvalidator_seqdata/_data, flags: 0x1000: no such file or directory
ERROR: Encountered errors while bringing up the project.

Is there supposed to be an underscore in the leaf paths on the docker containers? (like .../volumes/rest_variantvalidator_seqdata/_data)
I also noticed that there isn't any data in the folder ~/variantvalidator_data/share/ on the host system. I do believe there are some folders that should be created here but docker-compose build --no-cache does not seem to have done this.
This problem persists after issuing the command docker system prune -a --volumes.

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