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. Bocker is a good resource to learn what containers actually are: https://github.com/p8952/bocker
    comment by tyingq · 2019-10-14 · in LXC 1.0 blog-post-series (2013)
  3. …or with a hosted provider, which is great for the industry but not so good for Docker. [1] https://github.com/p8952/bocker (Docker implemented in around 100 lines of bash)
    comment by toomuchtodo · 2019-05-08 · in Steve Singh stepping down as Docker CEO
  4. Bocker is similar for better understanding Linux containers. https://github.com/p8952/bocker
  5. I remember seeing that here actually. Docker in 100 lines of code. https://github.com/p8952/bocker
    comment by nazka · 2018-06-25 · in Docker Considered Harmful (2016)
  6. …and an image repository / builder to kill off Docker. See this for how small the gap really is: https://github.com/p8952/bocker/blob/master/README.md Basically, Docker has almost no moat. They have mostly only brand recognition. Not…
  7. Docker in ~100 lines of bash: https://github.com/p8952/bocker
  8. ▲ 51
    Docker implemented in around 100 lines of bash
    story by based2 · 2018-02-24 · 9 comments
  9. There's also Bocker, a minimalistic Docker implementation in 100 lines of bash¹. [1]: https://github.com/p8952/bocker
  10. 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.
  11. Yet another lightweight container runtime: bocker, docker reimplemented in about 100 lines of bash: https://github.com/p8952/bocker
  12. bocker( https://github.com/p8952/bocker ) is also very good for understanding containers
    comment by liaoyw · 2017-06-06 · in Linux Container Internals
  13. …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
  14. …permissions. The core functionality of Docker can be implemented in ~100 lines of bash script: https://github.com/p8952/bocker
  15. …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
  16. Obligatory link to https://github.com/p8952/bocker/blob/master/bocker , a "clone" of Docker implemented as a ~100-line shell script.
  17. …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…
  18. ▲ 662
    Show HN: Bocker – Docker implemented in 100 lines of bash
    story by p8952 · 2015-07-21 · 87 comments