Skip to content

feat(tests): enhance sideContainers to support multi-containers tests - #924

Draft
alimx07 wants to merge 1 commit into
urunc-dev:mainfrom
alimx07:feat/sideCar
Draft

feat(tests): enhance sideContainers to support multi-containers tests#924
alimx07 wants to merge 1 commit into
urunc-dev:mainfrom
alimx07:feat/sideCar

Conversation

@alimx07

@alimx07 alimx07 commented Aug 8, 2026

Copy link
Copy Markdown

Description

Enhance a SideContainers feature to the e2e test framework, with current spec (Name, Image, Cli, Volumes, NetMode) that can run alongside the primary unikernel, either joining its same named network or sharing its network namespace directly according to mode.

const (
	// sideContainerNetModeNetwork joins the same named/user-defined
	// network as the primary container (docker/nerdctl --network <name>).
	sideContainerNetModeNetwork sideContainerNetMode = "network"
	// sideContainerNetModeShared joins the primary container's network
	// namespace directly, similar to containers sharing a namespace
	// inside a Kubernetes pod (docker/nerdctl --network container:<id>).
	sideContainerNetModeShared sideContainerNetMode = "shared"
) 

Related issues

How was this tested?

Still do not tested yet. I think the most easiet test will be a network calls on the localhost, so this is blocked until #793 merged.

LLM usage

Checklist

  • I have read the contribution guide.
  • The linter passes locally (make lint).
  • The e2e tests of at least one tool pass locally (make test_ctr, make test_nerdctl, make test_docker, make test_crictl).
  • If LLMs were used: I have read the llm policy.

@netlify

netlify Bot commented Aug 8, 2026

Copy link
Copy Markdown

Deploy Preview for urunc canceled.

Name Link
🔨 Latest commit 232f786
🔍 Latest deploy log https://app.netlify.com/projects/urunc/deploys/6a7d80dbe0a7280008d5c609

Signed-off-by: Ali Mohamed <amx746@gmail.com>
@alimx07
alimx07 marked this pull request as draft September 3, 2026 07:14
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.

Enhance SideContainers to Support Multi-Container Test Scenarios

1 participant