When I try manage volumes mariadb manually. I get this error
ERROR: The Compose file './docker-compose.yml' is invalid because:
services.mariadb.environment.volumes contains ["./mysql:/var/lib/mysql"], which is an invalid type, it should be a string, number, or a null
I also use docker4wordpress and I never see this error. Also I try use quotation marks in this stroke ./mysql:/var/lib/mysql but did not give any effect
When I try manage volumes mariadb manually. I get this error
ERROR: The Compose file './docker-compose.yml' is invalid because: services.mariadb.environment.volumes contains ["./mysql:/var/lib/mysql"], which is an invalid type, it should be a string, number, or a null
I also use docker4wordpress and I never see this error. Also I try use quotation marks in this stroke
./mysql:/var/lib/mysql
but did not give any effectHost OS
OS: Manjaro Linux x86_64 Kernel: 5.9.16-1-MANJARO
Docker info output
Docker compose file