This message was deleted.
# rancher-desktop
a
This message was deleted.
f
Can you provide more information on how to reproduce this? Is it specific to mounting a directory from the
Shared
user, or does it happen for directories in your home directory as well?
Does the directory exist on the same volume, or is it a symlink to a different device? Anything else special about that directory (or any of it's parents)?
e
So I am trying to spin up a docker image of one of my team's projects using the command
Copy code
docker compose up --build -d
My project is listed in the following directory:
Copy code
/Users/Shared/Documents/Projects/Paint/github/queue
And my project's docker-compose.yml file looks like the following:
Copy code
version: '3.6'

services:
  ui:
    build: ./ui
    container_name: ui
    stdin_open: true
    tty: true
    command: npm start
    volumes:
      - /app/node_modules
      - /Users/Shared/Documents/Projects/Paint/github/queue/ui
      - type: bind
        source: ./ui
        target: /app
        consistency: cached
      - npm-cache-volume:/npm-cache
    environment:
      - CHOKIDAR_USEPOLLING=true
    ports:
      - '8081:8081'
    depends_on:
      - api
      - fake_websocket_service
      - fake_dapper_service
  #    deploy:
  #      resources:
  #        limits:
  #          cpus: '2.0'

  api:
    build: ./api
    container_name: api
    tty: true
    stdin_open: true
    command: ./start_dev.rb
    volumes:
      - ./api:/app
      - /Users/Shared/Documents/Projects/Paint/github/queue/api
    env_file: ./api/.env
    ports:
      - '3001:3001'
    depends_on:
      - redis
      - fake_one_paint_api
      - fake_paint_queue_service

  bopis:
    build: ./bopis
    container_name: bopis
    tty: true
    stdin_open: true
    command: ./start_dev.rb
    volumes:
      - ./bopis:/app
      - /Users/Shared/Documents/Projects/Paint/github/queue/bopis
    env_file: ./bopis/.env
    ports:
      - '3002:3002'
    depends_on:
      - db
      - redis
      - fake_one_paint_api
      - fake_bopis_services
      - fake_paint_queue_service

  db:
    container_name: mariadb
    image: <http://docker.artifactory.homedepot.com/mariadb:latest|docker.artifactory.homedepot.com/mariadb:latest>
    restart: always
    environment:
      MYSQL_ROOT_PASSWORD: password
    volumes:
      - ./data:/var/lib/mysql
    ports:
      - '3306:3306'

  redis:
    image: <http://docker.artifactory.homedepot.com/redis:latest|docker.artifactory.homedepot.com/redis:latest>
    ports:
      - '6379:6379'

  fake_dapper_service:
    build: ./fake_dapper_service
    container_name: fake_dapper_service
    command: npm start
    volumes:
      - npm-cache-volume:/npm-cache
      - /Users/Shared/Documents/Projects/Paint/github/queue/fake_dapper_service
    ports:
      - '10104:10104'

  fake_paint_queue_service:
    build: ./fake_paint_queue_service
    container_name: fake_paint_queue_service
    command: npm start
    volumes:
      - npm-cache-volume:/npm-cache
      - /Users/Shared/Documents/Projects/Paint/github/queue/fake_paint_queue_service
    ports:
      - '4001:4001'

  fake_one_paint_api:
    build: ./fake_one_paint_api
    container_name: fake_one_paint_api
    command: npm start
    volumes:
      - npm-cache-volume:/npm-cache
      - /Users/Shared/Documents/Projects/Paint/github/queue/fake_one_paint_api
    ports:
      - '10101:10101'

  fake_bopis_services:
    build: ./fake_bopis_services
    container_name: fake_bopis_services
    command: npm start
    volumes:
      - npm-cache-volume:/npm-cache
      - /Users/Shared/Documents/Projects/Paint/github/queue/fake_bopis_services
    ports:
      - '10105:10105'

  fake_websocket_service:
    build: ./fake_websocket_service
    container_name: fake_websocket_service
    command: npm start
    volumes:
      - npm-cache-volume:/npm-cache
      - /Users/Shared/Documents/Projects/Paint/github/queue/fake_websocket_service
    ports:
      - '10102:10102'

  e2e:
    ipc: host
    build: ./e2e
    container_name: e2e
    volumes:
      - ./e2e:/app
      - /app/node_modules
    depends_on:
      - ui
    command: -c baseUrl=<http://ui:8081/#/>
    shm_size: 2048M # Allow Cypress to use extra memory

volumes:
  npm-cache-volume:
f
I could not reproduce this with a simplified compose file; can you try to create a minimal example that reproduces the issue, that somebody else could run on their computer?
Also, which OS version are you using, which CPU architecture, which Rancher Desktop version?