I use docker for a lot of my Homelab and currently run it on Rocky Linux. Which works great BTW! The issue I had was that Dockers install script located Here currently does not have support for RHEL-like systesms minus Fedora and RHEL for s390x architecture.
So I made this to make it easier on myself and perhaps others so we don't need to manually install all the time.
- Clone Repo.
git clone https://github.com/ColoredBytes/Ez-Docker-Installer.git
- Make the script executable.
chmod +x Ez-Docker-Installer/install.sh
- Run the script.
bash Ez-Docker-Installer/install.sh
Note
- No need to run as sudo as that is handled in the script.
- Will prompt for Password if not run by root or the system is not configured for passwordless sudo.
- You still need to add other users if you want them to run docker commands that can be done with.
sudo usermod -aG docker $USER
- This script installs the CE Edition of both not Business. That needs to be upgraded manually.
MIT License
Copyright (c) 2024 Joshua Ross
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.