主要原因是缓存引起,docker-compose down解决不了问题,需要先停止容器,再使用清除容器操作
比如:
docker volume prune
再重新配置即可。
另外注意
大小写不要写错。