Installation & Setup

Install imgcompress on your own server in minutes with Docker. Self-hosted image compression, WebP/AVIF conversion, and AI background removal — no cloud, no data sharing, full control over your files.

Get StartedDocker

Prerequisites#

You only need Docker installed. No other dependencies required.

Install#

Choose the method that works best for you.

Use Docker Compose if you want imgcompress to stay running on your server or NAS.

  1. Create a docker-compose.yml file and paste the following:

    yaml
    services:
        imgcompress:
            image: karimz1/imgcompress:latest
            container_name: imgcompress
            restart: always
            ports:
            - "3001:5000"
            environment:
            # Set to true to remove the mascot and enable a minimal, mascot-free UI
            - DISABLE_LOGO=false
            # Set to true to disable the storage management features (e.g., for your users to not see all the files)
            - DISABLE_STORAGE_MANAGEMENT=false
  2. Start the container:

    bash
    docker compose up -d
  3. Open your browser at http://localhost:3001.


Default UI (with mascot)

The standard interface includes Captain Compress, the product mascot.

ImgCompress default web UI with Captain Compress mascotImgCompress default web UI with Captain Compress mascot

Minimal UI (uncomment DISABLE_LOGO=true)

A clean, mascot-free interface ideal for professional, shared, or corporate environments.

ImgCompress minimal web UI without mascot, DISABLE_LOGO=trueImgCompress minimal web UI without mascot, DISABLE_LOGO=true


Update#

Keeping imgcompress up to date takes two commands.

bash
docker compose pull
docker compose up -d

Versions#

Most users should stick with latest.

TagTypeWho is it for?
latestStable releaseRecommended for everyone.
nightlyDaily buildFor testing new features before they ship.
⚠️Nightly builds

The nightly tag rebuilds every few days, for hot patches from the main branch. It may contain experimental features or bugs. Not recommended for production.


Platform Support#

imgcompress runs on any platform that supports Docker:

PlatformStatus
Standard PCs & Macs✅ Supported
Windows (Docker Desktop)✅ Supported
Linux (any distro)✅ Supported
Apple Silicon (M1/M2/M3/M4)✅ Supported
Raspberry Pi 4+✅ Supported