Docker

Installation

$ yay -S docker docker-compose docker-buildx

Enable the socket

systemctl enable --now docker.socket

Give yourself permissons

sudo usermod -aG docker $USER

Log to sytem’s journal

/etc/docker/daemon.json
{
  "log-driver": "journald"
}

Change command options

/etc/systemd/system/docker.service.d/execstart.conf
[Service]
ExecStart=
ExecStart=/usr/bin/dockerd -H unix:///var/run/docker.sock --containerd=/run/containerd/containerd.sock