bocker VS garden

Compare bocker vs garden and see what are their differences.

bocker

Docker implemented in around 100 lines of bash (by p8952)

garden

Automation for Kubernetes development and testing. Spin up production-like environments for development, testing, and CI on demand. Use the same configuration and workflows at every step of the process. Speed up your builds and test runs via shared result caching (by garden-io)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
bocker garden
37 40
11,092 3,248
- 1.7%
0.0 9.9
over 6 years ago 6 days ago
Shell TypeScript
GNU General Public License v3.0 only Mozilla Public License 2.0
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

bocker

Posts with mentions or reviews of bocker. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-08-06.
  • Show HN: Bocker-compose, the missing layer to Docker-compose
    1 project | news.ycombinator.com | 7 Mar 2024
    A (joke?) one-liner I came up with while thinking about solutions to centralized container management across multiple SSH hosts. Shame on me.

    The name is inspired by bocker [0], albeit this doesn't re-implement docker-compose in bash, I found it to be fitting enough.

    I'd love to see someone come up with a smarter and/or shorter way to do this.

    [0] https://github.com/p8952/bocker

  • Barco: Linux Containers from Scratch in C
    4 projects | news.ycombinator.com | 6 Aug 2023
    When I did a talk about docker I also wanted to show a bit of what it does under the hood without going through all the layers and without too much details. This ~120 lines of shell script is really good in providing just an intro into what's needed for containers: https://github.com/p8952/bocker/blob/master/bocker
  • Build Your Own Docker with Linux Namespaces, Cgroups, and Chroot
    6 projects | news.ycombinator.com | 26 Jun 2023
  • Latest Zen Kernel......
    5 projects | /r/linuxmemes | 26 May 2023
    i tried it and like the concnpt, but until it can be launched via a systemd userspace service (without previously manually booting it) among other problems i will keep using docker (or bocker)
  • The Staff Engineer's Path – Book Review
    1 project | news.ycombinator.com | 17 May 2023
    > But you couldn't reimplement podman in a few hundred lines of code.

    You don't even need a few hundred: https://github.com/p8952/bocker

    And then there's 'dokku' which IIRC, started as a bash version of Heroku.

    > Not all ideas have the same quality.

    They really do. I've heard all kinds of things in my career, but almost none I would want to dedicate a portion of my life building. Not because they are bad ideas or won't work, but because of the person with the idea or it just didn't interest me. Those people went on to be moderately successful (like hundreds of millions worth) but I'm glad I wasn't on that ride.

  • “Implement DNS in a Weekend”
    6 projects | news.ycombinator.com | 12 May 2023
    Bocker is in this same category...docker clone in bash that's helpful in seeing what's really happening underneath with nsenter, namespaces, network bridging, cgroups, etc.

    https://github.com/p8952/bocker

  • Ask HN: What is the best source to learn Docker in 2023?
    8 projects | news.ycombinator.com | 29 Jan 2023
    Docker implemented in around 100 lines of bash: https://github.com/p8952/bocker

    This is the most mindblowing example for enterprise security teams that think Docker is a new threat on a single tenant Linux host.

    No, buddies, all this stuff is already there. If you were fine with your visibility before*, you're still fine. Go find a real problem while we play with our developer dopamine.

    * NARRATOR: They shouldn't have been.

  • Containers are chroot with a Marketing Budget
    6 projects | news.ycombinator.com | 8 Nov 2022
    Bocker[1] does a reasonably good job of showing the value of Docker was mostly in Docker hub.

    [1] https://github.com/p8952/bocker

    1 project | /r/programming | 8 Nov 2022
    There is a cool project I've seen called "bocker" (https://github.com/p8952/bocker) which is something of a proof of concept of implementing Docker with bash, which speaks a bit to how Docker is indeed in many ways an amalgam of lower level primitives (such as chroot as you mentioned). Pretty neat!
  • bocker: Docker implemented in around 100 lines of bash
    1 project | /r/CKsTechNews | 16 Oct 2022

garden

Posts with mentions or reviews of garden. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-11-21.
  • Build pipelines always seem to take longer than doing the same locally
    1 project | /r/cicd | 9 Dec 2023
    Hey there! Have you tried garden.io for caching? We also cache tests. Pretty much anything that's possible to cache. We're open source at https://github.com/garden-io/garden
  • Streamlining CI/CD Pipelines with Code: A Developer's Guide
    2 projects | news.ycombinator.com | 21 Nov 2023
    To add to what's already been said: If you think about it, CI pipelines are typically a complete description of how your system is built, tested, and deployed.

    Which is pretty fantastic except for how walled off they are. You can't really re-use these descriptions for e.g. development, they're not vendor agnostic, and they only way to run them is by pushing your code.

    Maybe it's a silly analogy but it's almost like being a web dev that doesn't have a browser and needs to send their code to a friend who can tell them if that font size looks good.

    I think we're way over due for freeing these "blueprints" of our system from the confines of CI and making them portable and flexible. And containers are the technology that's enabling that.

    Full disclaimer (as always): I work at Garden[0] where we're also solving that problem but taking a slightly different approach to Dagger (it's still a DAG). Garden config is declarative and the jobs (we call them actions) have a semantic meaning. You can e.g. have a Build action of type container or a Deploy action of type Helm and Garden will figure out what to do with it.

    [0] https://github.com/garden-io/garden

  • GitHub Actions Are a Problem
    19 projects | news.ycombinator.com | 12 Nov 2023
    Yes, there's us over at https://github.com/garden-io/garden! We're big believers in pipelines that run anywhere. I even made a short little video that should give you the gist. [1]

    Some of the short-list of differences: we use YAML for our configuration language, Dagger can use full-fat languages to define its pipelines. Our feature scope is broader: you can use us to vend IDP-like stacks to your developers if you're a Platform Team; we make development with remote Kubernetes clusters very easy, including all the remote image builds; and we have a number of integrations so you can bring your IaC tool of choice (Pulumi, Terraform) into your pipeline and set up service -> infra dependencies.

    [1] https://www.youtube.com/watch?v=JFnan6s2cDg

  • The Icelandic Saga Database
    3 projects | news.ycombinator.com | 9 Jun 2023
    Me too. In fact Garden (dev tooling for the Kubernetes)[0] is a Berlin start-up with three Icelandic founders.

    And if I'm not mistaken, two of us worked briefly with @halldorel (above commenter) at an earlier Icelandic start-up. It's a small world (if you're Icelandic).

    [0] https://garden.io

  • Local development set up for microservices with Kubernetes - Skaffold
    3 projects | /r/kubernetes | 31 May 2023
    There are dedicated tools just for that. Apart from skaffold check also tilt.dev, garden.io, devspace.sh, okteto.com
  • is anyone using garden.io for Kubernetes development?
    1 project | /r/devops | 16 Mar 2023
    Would appreciate any insights on garden.io. Thanks.
  • Garden – The DevOps automation tool for K8s
    1 project | news.ycombinator.com | 13 Feb 2023
  • Best way to run k8s apps locally
    2 projects | /r/devops | 28 Dec 2022
    Telepresence, tilt, garden.io, okteto, skaffold etc.
  • Local Development with hot reloading, what does your team do?
    7 projects | /r/kubernetes | 14 Dec 2022
    - https://garden.io/
  • Digital nomad x Cyclist in the Balkans on my way to Japan (more info in the comments)
    1 project | /r/bicycletouring | 26 Oct 2022
    haha, do my pictures give off a strong not-web-dev vibe? Either way your right, I'm focusing on devxp and automation for kubernetes. Because my work is open source you can see it here https://github.com/garden-io/garden (btw we're also hiring another open core dev like me)

What are some alternatives?

When comparing bocker and garden you can also consider the following projects:

whalebrew - Homebrew, but with Docker images

okteto - Develop your applications directly in your Kubernetes Cluster

s6-overlay - s6 overlay for containers (includes execline, s6-linux-utils & a custom init)

skaffold - Easy and Repeatable Kubernetes Development

distroless - 🥑 Language focused docker images, minus the operating system.

telepresence - Local development against a remote Kubernetes or OpenShift cluster

dockerfiles - Various Dockerfiles I use on the desktop and on servers.

wsl-vpnkit - Provides network connectivity to WSL 2 when blocked by VPN

cloc - cloc counts blank lines, comment lines, and physical lines of source code in many programming languages.

tilt-extensions - Extensions for Tilt

django-ca - Django app providing a Certificate Authority

UTM - Virtual machines for iOS and macOS