Skip to content

feat: add runtime and init-image support (TDD)#3

Draft
explicitcontextualunderstanding wants to merge 19 commits intomainfrom
feature/runtime-init-image
Draft

feat: add runtime and init-image support (TDD)#3
explicitcontextualunderstanding wants to merge 19 commits intomainfrom
feature/runtime-init-image

Conversation

@explicitcontextualunderstanding
Copy link
Owner

Adds runtime and init_image mapping (maps to --runtime and --init-image) with docs and tests. Draft PR.

amazon1148 and others added 19 commits February 20, 2026 15:12
The entrypoint override was being appended after the image name,
causing it to be treated as container process arguments instead
of a `container run` flag. This meant the image's built-in
entrypoint was never overridden.

Fix: split entrypoint into --entrypoint <cmd> (before image)
and remaining args (after image), matching `container run` CLI
semantics.

Fixes containers immediately exiting when entrypoint is set in
docker-compose YAML.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- until now all waits always failed on 30 second timeout
- user is now informed that container is running
The RuntimeStatus type was introduced by TomasLudvik's commits but
doesn't exist in the container library. Removing the status tracking
since it was only used for error messages.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…to build run args for services and unit tests verifying restart, init, and entrypoint ordering.\n\nCo-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…untime and init_image fields to Service model, docs and tests.\n\nCo-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…tializer\n\nCo-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
… streamCommand valid\n\nCo-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants