The installation requires to parts: one part to be executed with sudo permissions (here I assume you are added as sudoers with no password check) and one part to be executed for each user who needs the Rootless Docker.
- PART-1: system wide installation
sudo ./docker-sysinit.shIf everything goes well, an 'OK' message is printed at the end of the script.
- PART-2: per-user installation
./docker-userinit.shIf everything goes well, an 'OK' message is printed at the end of the script. IMPORTANT NOTE: in order to execute the docker-userinit.sh on another user, it is necessary to actually create a login session (e.g., via ssh or machinectl): somethink like 'su - ' and then docker-userinit.sh will not work!
Please note that these two scripts are in a 'beta' version. They have been tested on
Fedora 37Ubuntu 22.04Ubuntu 20.04Ubuntu 18.04Ubuntu 16.04
You are welcome to improve these scripts! :-) For further documentation I recommend the official Docker documentation: