Skip to content

make serve fails #9989

Closed
Closed
@abitrolly

Description

@abitrolly

Describe the bug

I am following https://warehouse.readthedocs.io/development/getting-started.html#building-the-warehouse-container to fix tests for #9972. make build completed successfully, but make serve fails.

$ make serve
...
ERROR: for static  Cannot start service static: OCI runtime create failed: container_linux.go:348: starting container process caused "process_linux.go:402: container init caused \"rootfs_linux.go:58: mounting \\\"/home/scrapbook/tutorial/warehouse/.babelrc\\\" to rootfs \\\"/var/lib/docker/overlay/06dabd0c7e3db59672165fe67c73033f699ee5880db8b991af27fa16f6427073/merged\\\" at \\\"/var/lib/docker/overlay/06dabd0c7e3db59672165fe67c73033f699ee5880db8b991af27fa16f6427073/merged/opt/warehouse/src/.babelrc\\\" caused \\\"not a directory\\\"\"": unknown: Are you trying to mount a directory onto a file (or vice-versa)? Check if the specified host path exists and is the expected type

ERROR: for web  Cannot start service web: OCI runtime create failed: container_linux.go:348: starting container process caused "process_linux.go:402: container init caused \"rootfs_linux.go:58: mounting \\\"/home/scrapbook/tutorial/warehouse/.coveragerc\\\" to rootfs \\\"/var/lib/docker/overlay/605d08f1f84bab428a886e9162041263a10263bfdacdbed8767219c43a1db09c/merged\\\" at \\\"/var/lib/docker/overlay/605d08f1f84bab428a886e9162041263a10263bfdacdbed8767219c43a1db09c/merged/opt/warehouse/src/.coveragerc\\\" caused \\\"not a directory\\\"\"": unknown: Are you trying to mount a directory onto a file (or vice-versa)? Check if the specified host path exists and is the expected type

To Reproduce

$ git clone https://github.com/pypa/warehouse
$ cd warehouse
$ make build
$ make serve

My Platform

Ubuntu 16.04.6

$ docker-compose -v
docker-compose version 1.21.2, build a133471
$ docker -v
Docker version 18.03.1-ce, build 9ee9f40

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions