Hacker GitHub

← All repos

p8952/bocker

View on GitHub ↗ ★ 12,709 Shell

Docker implemented in around 100 lines of bash

68 mentions on Hacker News by 48 people: 8 stories, 60 comments · first 2015-07-21 · latest 2026-10-23

Mentions per year 68 mentions · busiest year 2020 (15)
20082026
  1. Docker in ~100 lines of bash: https://github.com/p8952/bocker
  2. There's also Bocker, a minimalistic Docker implementation in 100 lines of bash¹. [1]: https://github.com/p8952/bocker
  3. Docker in ~100 lines of bash: https://github.com/p8952/bocker You'll see it is mostly gymnastics with cgroups, btrfs, pivot_root, and some networking commands. Docker is neat, but it's just using functionality that's already there.
  4. Yet another lightweight container runtime: bocker, docker reimplemented in about 100 lines of bash: https://github.com/p8952/bocker
  5. bocker( https://github.com/p8952/bocker ) is also very good for understanding containers
    comment by liaoyw · 2017-06-06 · in Linux Container Internals
  6. …takes few lines. Generating an ISO. Configuring PXE to serve it... As a funny non-example: https://github.com/p8952/bocker
    comment by eeZah7Ux · 2017-05-25 · in Enough with the microservices
  7. …permissions. The core functionality of Docker can be implemented in ~100 lines of bash script: https://github.com/p8952/bocker
  8. …can do the same (admittedly, using btrfs) using 100 lines of code something is wrong^W hyped up. https://github.com/p8952/bocker
    comment by eeZah7Ux · 2016-10-27 · in Running containers without Docker
  9. Obligatory link to https://github.com/p8952/bocker/blob/master/bocker , a "clone" of Docker implemented as a ~100-line shell script.
  10. …It tries to do too much in one package/binary. This made the rounds around HN a while back: https://github.com/p8952/bocker It demonstrates that at least some of Docker's core functionality does not require a monster application but can be…