Skip to content

PiyushRaj927/bashpod

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

BashPod

BashPod is designed to run containers using Linux primitives like namespaces and cgroups. It is written in Bash with no dependencies.

Warning

BashPod is a container runtime developed for experimentation with Linux primitives. It lacks many of the security features required for production environments.

Features

  • Process isolation using Linux namespaces.
  • Resource control through cgroups.
  • Minimal dependencies, leveraging standard Linux tools.

Usage

bashpod -r <rootfs> [-w <working_directory>] -c <command>
  • -r <rootfs>: Specifies the root filesystem for the container.
  • -w <working_directory>: (Optional) Set the working directory. Default is /.
  • -c <command>: Command to run inside the container.

Example

bashpod -r /path/to/rootfs -c "/bin/bash"

This runs a Bash shell in an isolated environment using the specified root filesystem.

Requirements

Roadmap

  • Custom cgroup support
  • Internet support inside the container isolated from the host
  • Volumes mount support
  • Detached and Persistent containers
  • Support for pulling images from OCI registries

Resources

About

Container runtime written in Bash

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Languages