在docker-compose.yml配置容器日志大小限制nginx: image: nginx:1.12.1 restart: always logging: driver: "json-file" options: max-size: "5g"参考:https://www.cnblogs.com/angel-...
curl -L https://get.daocloud.io/docker/compose/releases/download/1.12.0/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker-compose chmod +x /usr/local/bin/docker-compose