i have duplicated my project for testing purpose, have this yml file:
version: '3' services: web: image: nginx container_name: ReverseProxy ports: - "80:80" networks: default: aliases: - lh-2.revprox.dock volumes: - ./reverse-proxy.conf:/etc/nginx/conf.d/reverse-proxy.conf command: [ nginx, '-g', 'daemon off;' ]
and it is stored in:
C:/test (A) and
A started fine and mount volulmene, but when i try to run B, it not mount volumene and show that it is mount file like directory, ending on error.
i am using: docker-compose -f docker-compose.yml up -d --force-recreate