Stepan Kasatkin efb628fba0 docs: initial commit with license and README files
- Added MIT LICENSE
- Added README.md (RU)
- Added README.en.md (EN)
2025-05-28 23:05:09 +05:00
2025-05-16 15:20:11 +05:00
2025-03-22 21:32:57 +03:00

🐳 Rootless Docker + Docker Compose Installer

Shell Rootless License Version

An interactive Bash installer for quick installation of Rootless Docker, Docker Compose, and full environment cleanup.

🇷🇺 Читать на русском


📁 Repository Structure

.
├── version
│   # self-update file
└── scripts/
    ├── docker-install.sh          # main installer
    └── docker-installer-init.sh   # loader placed in /etc/profile.d

📦 Dependencies

Utility Purpose
curl Downloading files over HTTP(S)
bash Script interpreter
tput Terminal color output
whiptail Terminal-based dialog menus
ncurses Cursor and color control

Install dependencies:

Ubuntu / Debian:

sudo apt update
sudo apt install -y curl bash whiptail ncurses-bin

🚀 Installation via curl

One-time execution (current user):

curl -fsSL https://gitea.wssk.ru/sk/docker-rootless-install/raw/branch/master/docker-install.sh | bash

Persistent installation:

sudo curl -fsSL https://gitea.wssk.ru/sk/docker-rootless-install/raw/branch/master/docker-install.sh -o ./docker-install.sh
sudo chmod +x ./docker-install.sh

Run the installer:

./docker-install.sh

After launch, a menu will appear:

Menu
1. Install Docker (rootless)
2. Install Docker Compose
3. Install everything
4. ⚠️ Remove Docker and all related data

Use the last option with caution!


🧩 Global Installation (via /etc/profile.d)

sudo curl -fsSL https://gitea.wssk.ru/sk/docker-rootless-install/raw/branch/master/scripts/docker-installer-init.sh \
  -o /etc/profile.d/docker-installer-init.sh
sudo chmod +x /etc/profile.d/docker-installer-init.sh

After that, every user upon terminal login will:

  • Get a copy of the installer script in ~/scripts/docker-install.sh
  • See a welcome dialog
  • Be able to run the installer

🔄 Auto-update

The script checks the remote version file and updates itself automatically if a newer version is available.


🧨 Uninstallation

The menu includes an option "Remove Docker and ALL data", which deletes:

  • Containers
  • Images
  • Volumes
  • Rootless Docker configs
  • Docker and Compose binaries

⚠️ Use with caution!

Description
No description provided
Readme MIT 54 KiB
Languages
Shell 100%