Skip to content

Echsecutor/gen_ai_container

Repository files navigation

Building Container

Shipping AI Containers

Artificial Inteligence Cyborg Shipping

Invoke AI Container

This is a minimalist container running invoke web UI. No nonsense included. Just starts the invoke web ui and exposes the port.

Working Invoke AI Features (testet in container on runpod)

  • Install + Use starter Models/Models from Huggin Face/Any Models via URL, e.g. from civitai
  • Benchmarks on runpod on A40:
    • SD1,
      • Image generation wall clock time (512x512, 30 steps) <3s
    • SDXL/Pony
      • Image generation wall clock time (1024x1024, 30 steps) <10s
    • FLUX Models
      • Image generation wall clock time (1024x1024, 30 step) <30s

Config

  • Models, the database, outputs,... in short everything you might want to persist is stored in the volume mounted under /workspace
  • /invoke/ contains e.g. the invoke ai config generated at build time
  • Invoke AI Web Service exposed on port 8080 (no login)
  • Exposes Port 22 for scp (through runpod forwarding)

Container Build

Usage

Run locally:

docker run --gpus all --rm -it --name invoke -p 8080:8080 -v YOUR_LOCAL_MODEL_DIR:/workspace ghcr.io/echsecutor/gen_ai_container/invoke:main

Or use the provided script

Comfy UI Container

Config

  • Models, custom nodes, outputs,... in short everything you might want to persist is stored in the volume mounted under /workspace

Usage

Run locally:

docker run --gpus all --rm -it --name invoke -p 8080:8080 -v YOUR_LOCAL_MODEL_DIR:/workspace ghcr.io/echsecutor/gen_ai_container/comfy:main

Or just use the provided script

License

Copyright 2025 Sebastian Schmittner

The Docker files/scripts in this repository is not endorsed by anyone but the author.

The Invoke AI container bundles InvokeAI, which ships under the Apache 2 License. All credit for Invoke AI go to the Invoke AI Team.

The ComfyUI Container contains ComfyUI which ships under GPLv3. All credits go to the ComfyUI team.

Open Source Initiative Approved License

All code in this repository is distributed under the MIT License.