Cannot create container for service client: invalid volume specification

#2 · open · 1 comments

View on GitHub ↗

Ravibhardwaj05

Creating complex_client_1 ... error complex_postgres_1 is up-to-date ERROR: for complex_client_1 Cannot create container for service client: invalid volume specification: '/root/complex/client:app:rw': invalid mount config for type "bind":Creating complex_worker_1 ... error ERROR: for complex_worker_1 Cannot create container for Recreating complex_api_1 ... done lex/worker:app:rw': invalid mount config for type "bind": invalid mount path: 'app' mount path must be absolute ERROR: for client Cannot create container for service client: invalid volume specification: '/root/complex/client:app:rw': invalid mount config for type "bind": invalid mount path: 'app' mount path must be absolute ERROR: for worker Cannot create container for service worker: invalid volume specification: '/root/complex/worker:app:rw': invalid mount config for type "bind": invalid mount path: 'app' mount path must be absolute ERROR: Encountered errors while bringing up the project.

Comments

ObaidaAlhaasan

Hello, I had the same problem simply I was missing the `/` from the `app` in the client volumes, I hope it helps ```client: build: dockerfile: Dockerfile.dev context: ./client volumes: - /app/node_modules - ./client/:/app