Do all the additional Docker configuration needed
This commit is contained in:
1 parent
afb03106a0
commit
25799ee91f
3 files changed
+14
-3
No files matched your search
@@ -0,0 +1,11 @@
|
||||
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
|
||||
Reference in new issue
Block a user