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.
- Process isolation using Linux namespaces.
- Resource control through cgroups.
- Minimal dependencies, leveraging standard Linux tools.
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.
bashpod -r /path/to/rootfs -c "/bin/bash"
This runs a Bash shell in an isolated environment using the specified root filesystem.
- Bash
- Linux with support for namespaces and cgroups
- util-linux package
- 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