Docker is an open platform for developing, shipping, and running applications. Docker enables you to separate your applications from your infrastructure so you can deliver software quickly.
This details how to install and set up Docker for use by ${USER}
without needing sudo
(not rootless).
-
Install the Docker (
docker
) package usingyay
. -
Add our user to the
docker
group:newgrp docker sudo usermod -aG docker ${USER}
-
Start and Enable the
docker.service
service.
-
Should an IP range conflict occur, check IP range used by the
docker
daemon:ip route | grep docker
-
Fix by creating an
/etc/docker/daemon.json
file and change thebase
IP to a non-conflicting IP (i.e.172.18.0.0/16
):{ "debug" : true, "default-address-pools" : [ { "base" : "172.18.0.0/16", "size" : 24 } ] }
-
Restart the
docker.service
service accordingly.