My Manjaro installation did not configure /etc/subuid
and /etc/subgid
files which are required for rootless containers such as Docker to work.
For e.g. cat /etc/subuid
returns a file not found error.
I discovered this problem as soon as I installed Docker Desktop and it was taking forever to start.
I followed some advice from this page but to no avail because my system did not have the requisite files.
Eventually, I figured out how to create and configure the subuid and subgid files. I have provided the solution below.