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
20082026
-
Docker in ~100 lines of bash: https://github.com/p8952/bocker
comment by tyingq · 2018-04-02 · in A Workshop on Linux Containers: Rebuild Docker from Scratch -
There's also Bocker, a minimalistic Docker implementation in 100 lines of bash¹. [1]: https://github.com/p8952/bocker
comment by bartkmq · 2018-01-11 · in Mocker: A crappy imitation of Docker, written in 100% Python -
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.
comment by tyingq · 2017-12-02 · in Ask HN: Good resources on learning how docker works under the hood? -
Yet another lightweight container runtime: bocker, docker reimplemented in about 100 lines of bash: https://github.com/p8952/bocker
comment by jabl · 2017-11-02 · in Linux containers in 500 lines of code (2016) -
bocker( https://github.com/p8952/bocker ) is also very good for understanding containers
comment by liaoyw · 2017-06-06 · in Linux Container Internals -
…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 -
…permissions. The core functionality of Docker can be implemented in ~100 lines of bash script: https://github.com/p8952/bocker
comment by api · 2017-04-19 · in Moby: An open-source project to advance containerization -
…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 -
Obligatory link to https://github.com/p8952/bocker/blob/master/bocker , a "clone" of Docker implemented as a ~100-line shell script.
comment by ameliaquining · 2016-09-29 · in Google, Red Hat Work on a Way for Kubernetes to Run Containers Without Docker -
…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…
comment by api · 2015-07-28 · in Why Docker Is Not Yet Succeeding Widely in Production