limit docker disk usage

1
2
3
4
5
6
7
8
xxxx:
image: nginx:1.12.1
restart: always

logging:
driver: "json-file"
options:
max-size: "5g"