After update to docker 20.10.0 build 7287ab3 and docker-compose 1.27.4 build 40524192, I’ve got the error:
ERROR: for 3dcfb1990fce_descarte_server Cannot start service server: Mounts denied: approving /Users/jonataslizandro/Desktop/projetos/descarte/api: file does not exist
The mentioned path exists and is a folder, not a file.
My docker-compose.yml is the same as it worked before the update:
version: '3' services: server: container_name: descarte_server restart: always build: '.' entrypoint: ./.docker/entrypoint.sh volumes: - ./:/api depends_on: - database links: - database ports: - '3333:3333' database: image: postgres:12.0-alpine container_name: descarte_db restart: always environment: POSTGRES_DB: descarte POSTGRES_USER: descarte POSTGRES_PASSWORD: descarte ports: - '5432:5432' volumes: - descarte-pg:/var/lib/postgresql/data adminer: image: adminer restart: always ports: - 8080:8080 volumes: descarte-pg:
It’s also occurs in all of my projects.
Anyone can help?