You are providingIt seems there is a list instead of an arrayspacing issue in the volumes. This is clear from the error message:your yaml
In file '. \ docker-compose.yml', service 'volumes' must be a mapping not an array.
You should change the compose file to
version : '3.4'
services:
testando-volume-compartilhado-a:
image: carloshenriquecarniatto/teste:latest
volumes: # <-- not a
list any more
- D:\App:/app # <- extra space here
ports:
- "10001:80"
- "44378:443"