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:16  大日很忧伤  阅读(419)  评论(0)    收藏  举报