Skip to content

Releases: robin-vidal/tinydocker

Release v0.2.0 - Resource control & better CLI

16 Jun 18:21
4ea5608

Choose a tag to compare

This release introduces cgroup-based resource control, enabling fine-grained limitation of CPU and memory usage for containers. Key changes include:

  • Added support for creating and applying cgroups to enforce CPU and memory limits.
  • Refactored cgroup logic into modular and maintainable components.
  • Improved project structure with a multi-file organization.
  • Rewrote the README to reflect current functionality and usage.
  • Enhanced the CLI for a more consistent and user-friendly interface.
  • Added inline code documentation for better clarity and maintainability.

These changes lay the groundwork for more robust container lifecycle management and improved developer experience.

Release v0.1.0 - Core container logic

15 Jun 23:40
4ea5608

Choose a tag to compare

This release implements the core container functionality with basic isolation and execution features:

  • Create a containerized process with namespace isolation for UTS, mount, PID, IPC, and network
  • Change the hostname inside the container
  • Perform a chroot to a minimal root filesystem
  • Change working directory to the new root (/)
  • Mount the /proc filesystem inside the container
  • Execute an arbitrary command inside the container, passed after a -- separator (default is /bin/sh)
  • Wait for the containerized process to exit and then clean up mounted resources

This minimal container runtime lays the groundwork for further enhancements such as networking, volume management, and advanced process control.