简单说就是不支持deploy节点配置,导致内存限制大小/cpu限制都无法生效。WARNING: Some services (web) use the 'deploy' key, which will be ignored. Compose does not support 'deploy' configuration - use `docker stack deploy` to deploy to a swarm.
docker-compose --compatibility up
标签:地址:https://www.leftso.com/article/949.html