GithubHelp home page GithubHelp logo

iximiuz / shimmy Goto Github PK

View Code? Open in Web Editor NEW
39.0 4.0 7.0 91 KB

Simplistic container runtime shim

Home Page: https://iximiuz.com/en/posts/implementing-container-runtime-shim/

C 5.17% Rust 94.83%
containers container-runtime rust

shimmy's Introduction

shimmy - container runtime shim

Shimmy is a simplistic shim between container manager and container runtime. It's primary designed to make programmatic runc execution more friendly for the launching process. It does a couple of handy things:

  • Detaches container runtime process from the launching process.
  • Forwards container STDOUT and STDERR to logs.
  • Tracks container termination and writes its status on disk.
  • [TODO] Allows attaching to container STDIN to forward some data in.
  • [TODO] Allows attaching to container STDOUT & STDERR to read some data from.
  • [TODO] PTY-driven attaching.

Similar projects:

Read more about the project on my blog:

Usage

# build debug version
cargo build --bin shimmy

# build release version
cargo build --bin shimmy --release

# integrational tests (conman is required)
https://github.com/iximiuz/conman/blob/v0.0.2/test/shimmy/shimmy_test.go

shimmy's People

Contributors

dependabot[bot] avatar fsmiamoto avatar iximiuz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

shimmy's Issues

Simple container manager / shim for runc / crun

Hi,

I play with a custom linuxkit build based on crun runtime, but it needs a container manager to check health and (optional) restart if process is killed.

Searched for conman / shim topics and found shimmy. Is there such a project or would it possible to use shimmy for that?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.