The admin/manage_users.sh script is the primary tool for managing developer environments.
./admin/manage_users.sh add <username> [password]- Creates a dedicated container and a performance-optimized Sparse File Virtual Disk.
- Automatically handles filesystem formatting (ext4) and loopback mounting.
- Updates Traefik mapping in
dynamic/users.htpasswd. - Optimization: Skips building the base image if it already exists.
./admin/manage_users.sh remove <username> [--purge]- Stops and removes the container.
- Use
--purgeto permanently delete the user's data volume.
./admin/manage_users.sh update_password <username> <new_password>- Updates the hashed credentials in Traefik.
- Restarts Traefik to ensure the new password takes effect immediately.
./admin/manage_users.sh backup <username>- Creates a timestamped
.tar.gzarchive of the user's home volume in thebackups/directory.
./admin/manage_users.sh list- Displays all active users, their container status, and network information.
The system includes several internal-only administrative tools for system operators:
admin/deploy_update.sh: Fleet-wide update tool. Rebuilds images and rolls out updates to active containers with zero configuration loss.admin/audit_tools.sh: Audits all active user containers for pre-installed AI and dev tools.admin/monitor.sh: Live dashboard for CPU, RAM, and Disk Quota usage.admin/realign_disks.sh: Critical service to restore virtual disk mounts after a host reboot.admin/maintenance.sh: Destructive cleanup of unused Docker images, logs, and containers to free host space.
Every new user box is automatically provisioned with a "smoke test" suite in ~/admin/testing/. Users can verify their networking and RDB routing immediately by running:
./admin/testing/test_rdb_routing.shThis script will:
- Start a temporary backend.
- Add an RDB route.
- Verify Traefik accessibility (HTTPS/Auth).
- Verify RDB internal proxying.
Once the script is running, you can also manually verify the routing in your browser:
- EXAMPLE URL: https://www.myapp.testdev.remote-dev-box/
- Credentials: Use your standard developer account login.
This provides immediate feedback to both the operator and the developer that the environment is fully functional.