Only start on the next reboot

This commit is contained in:
David Heinemeier Hansson
2025-06-02 09:39:17 +02:00
parent 8af9ab91ce
commit bb13be00b4
2 changed files with 4 additions and 6 deletions

View File

@ -1,11 +1,10 @@
yay -S --noconfirm docker
# Start Docker automatically
sudo systemctl enable docker
sudo systemctl start docker
# Give this user privileged Docker access
sudo usermod -aG docker ${USER}
# Limit log size to avoid running out of disk
echo '{"log-driver":"json-file","log-opts":{"max-size":"10m","max-file":"5"}}' | sudo tee /etc/docker/daemon.json
# Start Docker automatically
sudo systemctl enable docker