How meghanab1909/cc-project works
Docksmith builds Docker-like images from Docksmithfiles, lists and removes them, and runs commands in isolated Linux root filesystems. The main workflow starts at the CLI: build instructions are parsed and executed with layer caching, then manifests and layer archives are stored; run loads an image, assembles its filesystem, applies environment and command settings, and invokes the shared isolation primitive. The README also documents COPY, RUN, WORKDIR, ENV, CMD, cache reuse, environment overrides, and filesystem isolation. The GUI terminal is present but its integration with Docksmith commands is not established by the excerpts.
Main entry points: build_engine.py Build Engine · runtime.py Run Orchestration · main.py CLI Commands · image_store.py Image Manifests
Components 13
User Interfaces
- CLI Commands
main.py - GUI Terminal
docksmith.py
Image Build
- Instruction Parser
builder/parser.py - Build Engine
builder/build_engine.py - Build Cache
builder/cache.py - Layer Utilities
builder/layer_engine.py
Container Runtime
- Run Orchestration
runtime/runtime.py - Rootfs Assembly
runtime/runtime.py - Linux Isolation
runtime/runtime.py
Image Storage
- Image Manifests
utils/image_store.py - Layer Archives
utils/image_store.py - Cache Records
utils/image_store.py
Other components
- Operator
Connections 15
- Operator → CLI Commands: invokes
README.md - CLI Commands → Build Engine: builds image
main.py - Build Engine → Instruction Parser: parses instructions
builder/build_engine.py - Build Engine → Build Cache: checks cache
builder/build_engine.py - Build Engine → Run Orchestration: runs build steps
builder/build_engine.py - Build Engine → Image Manifests: loads and saves
builder/build_engine.py - Build Engine → Layer Archives: writes and extracts
builder/build_engine.py - Build Engine → Cache Records: stores cache
builder/build_engine.py - CLI Commands → Image Manifests: lists and removes
main.py - CLI Commands → Run Orchestration: runs container
main.py - Run Orchestration → Image Manifests: loads image
runtime/runtime.py - Run Orchestration → Rootfs Assembly: assembles rootfs
runtime/runtime.py - Rootfs Assembly → Layer Archives: extracts layers
runtime/runtime.py - Run Orchestration → Linux Isolation: executes command
runtime/runtime.py - Build Engine → Layer Utilities: uses utilities
builder/build_engine.py