Linux Installation Guide¶
This guide covers installing GlinrDock on Linux systems using various methods.
System Requirements¶
- Linux kernel 3.10+ (RHEL/CentOS 7+, Ubuntu 16.04+, Debian 9+)
- Docker Engine 20.10+
- systemd (for service management)
- 512MB RAM minimum, 2GB recommended
- 1GB available disk space
Installation Methods¶
Method 1: Automated Script (Recommended)¶
Download and run the installation script:
curl -fsSL https://github.com/GLINCKER/glinrdock-release/releases/latest/download/install.sh | sudo bash
This script will: - Download the appropriate binary for your architecture - Install to /usr/local/bin/glinrdockd
- Create systemd service unit - Generate initial configuration - Start the service
Method 2: Manual Binary Installation¶
-
Download the binary:
-
Verify the download:
-
Extract and install:
-
Create system user:
-
Install systemd service:
Method 3: Package Manager Installation¶
RPM-based systems (RHEL, CentOS, Fedora):
# Download RPM package
curl -LO https://github.com/GLINCKER/glinrdock-release/releases/latest/download/glinrdockd.rpm
sudo rpm -i glinrdockd.rpm
DEB-based systems (Ubuntu, Debian):
# Download DEB package
curl -LO https://github.com/GLINCKER/glinrdock-release/releases/latest/download/glinrdockd.deb
sudo dpkg -i glinrdockd.deb
Configuration¶
Initial Configuration¶
Create configuration file:
sudo tee /etc/glinrdock/config.toml << EOF
[server]
bind_addr = "127.0.0.1:8080"
data_dir = "/var/lib/glinrdock"
[auth]
admin_token = "$(openssl rand -hex 32)"
[docker]
socket_path = "/var/run/docker.sock"
EOF
Service Management¶
Start and enable the service:
Check service status:
View logs:
Verification¶
-
Check service is running:
-
Access web interface:
- Open http://localhost:8080
- Get admin token:
sudo grep admin_token /etc/glinrdock/config.toml
Firewall Configuration¶
If using firewall, allow access to GlinrDock:
UFW (Ubuntu):
firewalld (RHEL/CentOS):
Troubleshooting¶
- Service fails to start: Check logs with
journalctl -u glinrdockd
- Permission denied errors: Verify user is in
docker
group - Port binding errors: Ensure port 8080 is available
- Docker connection issues: Verify Docker daemon is running
See Troubleshooting Guide for more details.