Skip to content

Kataglyphis/Kataglyphis-ContainerHub

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

logo

Kataglyphis-ContainerHub ๐Ÿš€

Docker templates for GPU-friendly Linux dev stacks, a slim nginx webserver, and a Windows build image. ๐Ÿณ

โš ๏ธ Important: add the current user to the docker group

sudo usermod -aG docker $USER

You can only push to ghcr.io without sudo when the user is in the docker group.

Donate Twitter

Table of Contents

About The Project ๐Ÿงญ

This project ships ready-to-build Dockerfiles for multiple targets in a single repo.

Container registry: ghcr.io/kataglyphis/kataglyphis_beschleuniger โ€” published multi-arch images (Linux base, Torch add-on, webserver) and Windows build image.

Published images and tag hints:

Image Platforms Tag examples Description
ghcr.io/kataglyphis/kataglyphis_beschleuniger linux/amd64, linux/arm64, linux/riscv64 latest Base Linux toolchain image with Clang/GCC, Rust, Vulkan, GStreamer, Android SDK/NDK.
ghcr.io/kataglyphis/kataglyphis_beschleuniger:webserver linux/amd64, linux/arm64 (as pushed) webserver, webserver-<git-sha> Minimal nginx static webserver image.
ghcr.io/kataglyphis/kataglyphis_beschleuniger:winamd64 windows/amd64 winamd64 Windows Server Core 2025 build image with MSVC, LLVM/Clang, Vulkan SDK, Rust, Flutter, WiX.

Images in this repository:

  • ๐Ÿ“ฆ linux/Dockerfile: Ubuntu 24.04 toolchain image (Clang/GCC, Rust, Vulkan, GStreamer, Android SDK/NDK for x86_64).
  • ๐Ÿ”ฅ linux/torch/Dockerfile: Torch/Python add-on on top of the base image.
  • ๐ŸŒ linux/webserver/Dockerfile: Minimal nginx static webserver (config at linux/webserver/nginx.conf).
  • ๐ŸชŸ windows/Dockerfile: Windows Server Core 2025 build image with MSVC Build Tools, LLVM/Clang, Vulkan SDK, Rust, Flutter, WiX.

What you get:

  • โœ… Multi-arch builds via buildx/nerdctl.
  • ๐ŸŽฎ Vulkan + toolchains ready for GPU passthrough.
  • ๐Ÿง  Optional Torch layer for Python/ROCm work.
  • ๐Ÿ“ก Ready-to-serve static web content with nginx.

Key Features โœจ

  • ๐ŸชŸ Windows Server 2025 x64 Clang 21.7.0 and MSVC Build Tools 2026.
  • ๐Ÿง Ubuntu 24.04 x64 Clang 21.7.0.
  • ๐Ÿง Ubuntu 24.04 ARM Clang 21.7.0.
Category Feature Status
Packaging agnostic Binary-only deployment โœ”๏ธ
Packaging agnostic Lore ipsum โœ”๏ธ
Lore ipsum agnostic LORE IPSUM โœ”๏ธ
Lore ipsum agnostic Advanced unit testing ๐Ÿ”ถ
Lore ipsum agnostic Advanced performance testing ๐Ÿ”ถ
Lore ipsum agnostic Advanced fuzz testing ๐Ÿ”ถ

Legend: โœ”๏ธ completed ยท ๐Ÿ”ถ in progress ยท โŒ not started

Dependencies ๐Ÿงฉ

This enumeration also includes submodules.

Useful Tools ๐Ÿ› ๏ธ

Handy extras that pair well with the images.

Getting Started ๐Ÿ

Linux ๐Ÿง

Build

sudo nerdctl run -it --rm ghcr.io/kataglyphis/kataglyphis_beschleuniger:latest
# on Windows you must expose ports one by one
sudo nerdctl run -it --rm -p 8443:8443 ghcr.io/kataglyphis/kataglyphis_beschleuniger:latest

Multi-Arch Build ๐ŸŒ

RICV64 example
nerdctl build --platform linux/riscv64 --build-arg GSTREAMER_VERSION=1.25.90 --no-cache -t ghcr.io/kataglyphis/kataglyphis_beschleuniger:riscv -f linux/Dockerfile .
Setup essentials

Always build with --platform:

docker buildx imagetools create --tag ghcr.io/kataglyphis/kataglyphis_beschleuniger:latest_multiarch ghcr.io/kataglyphis/kataglyphis_beschleuniger:latest ghcr.io/kataglyphis/kataglyphis_beschleuniger:amd64
cat > /tmp/buildkitd.toml <<'TOML'
# limit BuildKit worker parallelism to 2 (set to 1 on very small machines)
[worker.oci]
  max-parallelism = 2
TOML
nerdctl run --rm --privileged tonistiigi/binfmt --install all

sudo nerdctl login ghcr.io/kataglyphis/kataglyphis_beschleuniger:latest -u Kataglyphis

sudo nerdctl build \
  --platform=linux/arm64,linux/amd64,linux/riscv64 \
  -t ghcr.io/kataglyphis/kataglyphis_beschleuniger:latest \
  --output 'type=image,name=ghcr.io/kataglyphis/kataglyphis_beschleuniger:latest,push=true' \
  --cache-to=type=registry,ref=ghcr.io/kataglyphis/kataglyphis_beschleuniger:buildcache,mode=max,oci-mediatypes=true \
  --cache-from=type=registry,ref=ghcr.io/kataglyphis/kataglyphis_beschleuniger:buildcache \
  --build-arg BUILD_DATE="$(date -u +'%Y-%m-%dT%H:%M:%SZ')" \
  --build-arg VCS_REF="$(git rev-parse --short HEAD)" \
  --build-arg BUILD_BY="local" \
  -f linux/Dockerfile . 2>&1 | tee -a output.log
Build & push (docker buildx)
sudo docker buildx build \
  -f linux/Dockerfile \
  --platform linux/amd64,linux/arm64 \
  -t ghcr.io/kataglyphis/kataglyphis_beschleuniger:latest \
  -t ghcr.io/kataglyphis/kataglyphis_beschleuniger:$(git rev-parse --short HEAD) \
  --cache-to=type=registry,ref=ghcr.io/kataglyphis/kataglyphis_beschleuniger:buildcache,mode=max,oci-mediatypes=true \
  --cache-from=type=registry,ref=ghcr.io/kataglyphis/kataglyphis_beschleuniger:buildcache \
  --build-arg BUILD_DATE="$(date -u +'%Y-%m-%dT%H:%M:%SZ')" \
  --build-arg VCS_REF="$(git rev-parse --short HEAD)" \
  --build-arg BUILD_BY="local" \
  --push \
  .
Reset builder
docker buildx rm mybuilder 2>/dev/null || true
docker buildx create --name mybuilder --driver docker-container --buildkitd-config /tmp/buildkitd.toml --use --
Combined build (nerdctl)
nerdctl run --rm --privileged tonistiigi/binfmt --install all
nerdctl build --platform linux/amd64,linux/arm64,linux/riscv64 -t ghcr.io/kataglyphis/kataglyphis_beschleuniger:latest -f linux/Dockerfile .

Torch Add-on (Linux) ๐Ÿ”ฅ

Builds on the base image:

docker build -t ghcr.io/kataglyphis/kataglyphis_beschleuniger:torch -f linux/torch/Dockerfile .

Webserver (Linux) ๐ŸŒ

docker build -t kataglyphis-webserver:latest -f linux/webserver/Dockerfile .
docker run -d --name kataglyphis-webserver \
  -p 8080:80 \
  -v "$(pwd)/linux/webserver/dist:/var/www/html" \
  -v "$(pwd)/linux/webserver/nginx.conf:/etc/nginx/nginx.conf:ro" \
  kataglyphis-webserver:latest

Run with frontend display support:

nerdctl run --rm -it \
  -e DISPLAY=$DISPLAY \
  -e WAYLAND_DISPLAY=$WAYLAND_DISPLAY \
  -e XDG_RUNTIME_DIR=$XDG_RUNTIME_DIR \
  -e PULSE_SERVER=$PULSE_SERVER \
  -v /mnt/wslg:/mnt/wslg \
  -v /tmp/.X11-unix:/tmp/.X11-unix \
  -v $XDG_RUNTIME_DIR:$XDG_RUNTIME_DIR \
  -v "$(pwd)":/workspace \
  --workdir /workspace \
  ghcr.io/kataglyphis/kataglyphis_beschleuniger:latest

Windows ๐ŸชŸ

C:\PATH_TO_NERDCTL\nerdctl.exe build --platform windows/amd64 `
  --progress=plain --no-cache `
  -t ghcr.io/kataglyphis/kataglyphis_beschleuniger:winamd64 `
  -f windows/Dockerfile .

Prerequisites โœ…

  • Docker with buildx/nerdctl support.
  • GPU passthrough configured when building Vulkan-enabled images.

Installation ๐Ÿ“ฅ

  1. Clone the repo:
    git clone --recurse-submodules [email protected]:Kataglyphis/Kataglyphis-ContainerHub.git

Tests ๐Ÿงช

Add test steps here as they become available.

Roadmap ๐Ÿ—บ๏ธ

Upcoming :)

Troubleshooting ๐Ÿฉบ

  • Symptom: caching is weird or files cannot be found.
    Solution:

    # change this line
    RUSTC_WRAPPER= /usr/bin/sccache \ 
    # to 
    RUSTC_WRAPPER="" \ 
    • Symptom: no space left on this device Solution: Don't write to tmp/ folder! This is stupid. Write to tmp2 f.e.

Contributing ๐Ÿค

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

  1. Fork the project.
  2. Create your feature branch (git checkout -b feature/AmazingFeature).
  3. Commit your changes (git commit -m 'Add some AmazingFeature').
  4. Push to the branch (git push origin feature/AmazingFeature).
  5. Open a pull request.

Raspberry Pi Camera

rpi-cam sources

# list if camera is available
v4l2-ctl --list-devices

License ๐Ÿ“„

Add your license details here.

Contact ๐Ÿ“ฌ

Jonas Heinle - @Cataglyphis_ - [email protected]

Project Link: https://github.com/Kataglyphis/...

Acknowledgements ๐Ÿ™

Thanks for free 3D models:

Literature ๐Ÿ“š

Some very helpful literature, tutorials, etc.

About

๐Ÿณ ๐Ÿณ Ease your developer life with containerd and nerdctl๐Ÿณ ๐Ÿณ

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages