Some services (nginx, storage, tracker)) use the 'deploy' key, which will be ignored. Compose does not support 'deploy' configuration - use `docker stack deploy` to deploy to a swarm.

1、由于做了资源限制, 并且没有使用swarm, 所以要加上--compatibility参数, 不然会报错

2、docker-compose --compatibility up -d

posted @ 2023-04-18 11:17  大日很忧伤  阅读(210)  评论(0编辑  收藏  举报