GladysAssistant / gladys-pi-gen

Gladys Assistant official Raspberry Pi OS image
BSD 3-Clause "New" or "Revised" License
1 stars 3 forks source link

Add --log-driver json-file in init-containers.sh #9

Open Pierre-Gilles opened 2 years ago

Pierre-Gilles commented 2 years ago

Not urgent, but I'm adding --log-driver json-file \ on the website so the --log-opt max-size=10m \ option work in 100% of the case.

Right now it's not necessary here because Docker use this driver by default, but I'm more afraid for the day where they change this setting in the default installation, and we'll have an ugly error

https://github.com/GladysAssistant/gladys-pi-gen/blob/6f4760925bb3181075908884f91fc84bdb3894b6/gladys/02-init-gladys/files/init-containers.sh#L46