Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add rust implementation of container Python script #38

Open
wants to merge 10 commits into
base: master
Choose a base branch
from

Conversation

saiarcot895
Copy link

Add a rust implementation of the container script in the SONiC image. This script is primarily responsible for starting, waiting on, and stopping containers.

In the case of local containers, this script is basically a wrapper around docker start, docker wait, and docker stop. In the case of Kubernetes containers, there's some additional logic/checks on whether the container should be started or not; this is not fully implemented.

Basic testing has been done with local containers (the most common use case).

This handles most use cases for local containers. For Kubernetes
containers, there's very limited handling in the start function, and
pretty much nothing else.

Signed-off-by: Saikrishna Arcot <[email protected]>
Signed-off-by: Saikrishna Arcot <[email protected]>
Signed-off-by: Saikrishna Arcot <[email protected]>
Signed-off-by: Saikrishna Arcot <[email protected]>
@mssonicbld
Copy link

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Signed-off-by: Saikrishna Arcot <[email protected]>
@mssonicbld
Copy link

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

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.

2 participants