docker-compose up throws : "bind source path does not exist" error

  docker, docker-compose

I am trying to install a repository (https://github.com/WikipediaLibrary/TWLight) ,
and I am running the following commands according to the readme file :

  1. docker-compose build
  2. docker-compose up

The docker-compose build works fine, but on running docker-compose up, I am getting the following error :

Building with native build. Learn about native build in Compose here: https://docs.docker.com/go/compose-native-build/
Creating twlight_db_1 ... error

ERROR: for twlight_db_1  Cannot create container for service db: invalid mount config for type "bind": bind source path does not exist: /home/udit/Desktop/wiki/TWLight/conf/db/local.d

ERROR: for db  Cannot create container for service db: invalid mount config for type "bind": bind source path does not exist: /home/udit/Desktop/wiki/TWLight/conf/db/local.d
ERROR: Encountered errors while bringing up the project.

enter image description here

System specs :

    Ubuntu 18.04 LTS
    Docker version 20.10.3, build 48d30b5
    docker-compose version 1.28.2, build 67630359

I have tried reinstalling the repository, docker and docker-compose but it still throws the same error . How do I solve resolve this issue ?

Source: Docker Questions

LEAVE A COMMENT