bocker VS image-spec

Compare bocker vs image-spec and see what are their differences.

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 image-spec
37 25
11,092 3,247
- 3.8%
0.0 7.5
over 6 years ago 14 days ago
Shell Go
GNU General Public License v3.0 only Apache 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

image-spec

Posts with mentions or reviews of image-spec. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-01-08.
  • Understanding Buildpacks in Cloud Native Buildpacks
    1 project | dev.to | 22 Apr 2024
    A buildpack is a software, designed to transform application source code into executable (OCI) images that can run on a variety of cloud platforms. At its core, a buildpack is a directory that includes a specific file named buildpack.toml. This file contains metadata and configuration details that dictate how the buildpack should behave. Buildpacks in simple terms, is a set of standards defining how the different steps that are required to build a compliant container image can be automated. Using those standards, there are projects that have been built round enabling that using an CLI or an API. The most common way of doing that is through the Cloud Native Buildpacks' Pack project. Pack is a CLI command that can run in the same system the developers are using to actually go through creating a Dockerfile.
  • Dive: A tool for exploring a Docker image, layer contents and more
    4 projects | news.ycombinator.com | 8 Jan 2024
    Eventually, once zstd support gets fully supported, and tiny gzip compression windows are not a limitation, then compressing a full layer would almost certainly have a better ratio over several smaller layers

    https://github.com/opencontainers/image-spec/issues/803

  • Homelab advice
    1 project | /r/kubernetes | 4 Jun 2023
  • Containers - entre historia y runtimes
    3 projects | dev.to | 26 Apr 2023
  • Is labelling best practice?
    1 project | /r/docker | 9 Jan 2023
    Please note that label-schema has been superseded by https://github.com/opencontainers/image-spec/blob/main/annotations.md<^
  • Pushing container images to GitHub Container Registry with GitHub Actions
    3 projects | dev.to | 1 Dec 2022
    GitHub Container Registry stores container images within your organization or personal account, and allows you to associate an image with a repository. It currently supports both the Docker Image Manifest V2, Schema 2 and Open Container Initiative (OCI) specifications.
  • The cloud-agnostic-architecture illusion
    5 projects | dev.to | 19 Aug 2022
    We build all services as containerized workloads, i.e., OCI images - sometimes called Docker images. We deploy these to the Kubernetes product offered by the cloud vendor. Whenever we need some capability, containers are the answer. This insulates our applications from the vendor. In principle, we could switch providers as long as Kubernetes is available.
  • Containerd... Do I use Docker to build the container image? I miss the Docker Shim
    5 projects | /r/kubernetes | 25 Jun 2022
    Build images with anything that makes OCI compliant images, push, and profit.
  • Opensource Server Hosting/Management Web Panel
    3 projects | /r/admincraft | 22 Jun 2022
    it's funny that you mention this because it is actually the thing that is next on my agenda for the image, as you can probably see already I bake in OCI image annotations in our image, which is great for including some core pieces of meta data. In addition to this though I will soon be including custom labels for Base64 encoded YAMLs for Kubernetes deployments using this image. I will look at including helm configuration as well. Then it should be just as easy as: $ docker pull registry.gitlab.com/crafty-controller/crafty-4:latest $ docker image inspect registry.gitlab.com/crafty-controller/crafty-4:latest | jq -r ".[].Config.Labels.\"org.arcadiatech.crafty.k8s.deployment\"" | base64 -d | kubectl apply -f -
  • My director is mad that I accepted another internal position for a 26% raise when he was told he could only give me a 10%
    6 projects | /r/antiwork | 15 May 2022
    They still don't do anything really of substance, they're just gateways to their vendor's world - booking systems, payment systems, etc. You learn those as you go along. Yes, as a potential employee, you need to be able to tick those boxes on your CV, but if you understand the underlying technology, it's mostly a matter of booking your own AWS or Azure server for $5-10 a month for a few weeks, and fooling around. (Docker is a bit different in the sense that they were the first to popularize today's de-facto container image standard, the "Docker container", which has since been accepted as a proper standard and renamed to "OCI image format"; but at the end of the day, at this point in time, Docker in itself is still just a company out for the money, and the multi-GB installation of their product can, for the essential functionality part, be replaced by a few hundred lines of Bash code. The cool boys today don't use Docker, they use [Podman(https://podman.io/), which is essentially a much more lightweight drop-in replacement ;-) )

What are some alternatives?

When comparing bocker and image-spec you can also consider the following projects:

whalebrew - Homebrew, but with Docker images

skopeo - Work with remote images registries - retrieving information, images, signing content

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

ovh-ipxe-customer-script - Boot OVH server with your own iPXE script

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

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

flyctl - Command line tools for fly.io services

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

go-containerregistry - Go library and CLIs for working with container registries

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

dive - A tool for exploring each layer in a docker image