eruizc-dev / poocker

Poor's man Docker, written in bash and using btrfs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Poocker

Poocker stands for Poor's man Docker, but can also be interpreted as a shittier version of it

sample

Features:

  • It may create images and run containers
  • 69% chance of breaking your system
  • Blatant copy of Bocker
  • Inspired by Build your own X

Resources:

If you're trying to learn a little more about images, containers, linux namespaces and btrfs subvolumes this is a cool project. Here's a list of cool guides and references I used to learn and develop this:

Setup:

Requirements:

  1. Get a VM and install BTRFS system in it
quickget ubuntu focal
quickemu --vm ubuntu-focal.conf --display none
  1. Install Docker and Undocker (feels like cheating and it is but only used for pulling images, didn't want to deal with docker registry auth)
  2. Clone this repo
  3. Pull image
./poocker pull alpine
  1. Run container
./poocker run "$IMAGE_ID" 'echo Hello from Alpine'
  1. List images and containers
./poocker ls

About

Poor's man Docker, written in bash and using btrfs

License:Do What The F*ck You Want To Public License


Languages

Language:Shell 100.0%