Then not do

This commit is contained in:
David Heinemeier Hansson
2025-07-09 19:08:44 -04:00
parent 315f3ffe88
commit bc652eb3f7
3 changed files with 6 additions and 3 deletions

View File

@ -1,5 +1,5 @@
echo "Ensure Docker config is set"
if [[ ! -f /etc/docker/daemon.json ]]; do
if [[ ! -f /etc/docker/daemon.json ]]; then
sudo mkdir -p /etc/docker
echo '{"log-driver":"json-file","log-opts":{"max-size":"10m","max-file":"5"}}' | sudo tee /etc/docker/daemon.json
fi