Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. Containers
  3. img

img

MITGov0.5.11

A standalone, daemon-less, unprivileged container image builder compatible with Dockerfile and OCI.

Visit WebsiteGitHubGitHub
4.0k stars233 forks0 contributors

What is img?

img is a standalone, daemon-less container image builder that allows users to build Dockerfile and OCI-compatible images without requiring root privileges. It solves the problem of secure image building in environments where users lack administrative access, such as HPC clusters or academic institutions, by operating entirely as an unprivileged process.

Target Audience

Developers, system administrators, and researchers in environments like HPC, academia, or enterprises with strict security policies who need to build container images without root access or a Docker daemon.

Value Proposition

Developers choose img for its security-first approach, allowing unprivileged image building while maintaining full Docker CLI compatibility. Its use of BuildKit enables superior cache efficiency and concurrent builds, offering performance benefits over traditional Docker builds.

Overview

Standalone, daemon-less, unprivileged Dockerfile and OCI compatible container image builder.

Use Cases

Best For

  • Building container images in shared or locked-down environments without root access
  • CI/CD pipelines where running a Docker daemon is undesirable or restricted
  • Academic and HPC clusters with LDAP or non-root user constraints
  • Kubernetes-based image building without privileged containers
  • Cross-platform container image builds for multiple architectures
  • Secure image building workflows that prioritize least-privilege principles

Not Ideal For

  • Teams heavily integrated with Docker's full orchestration ecosystem (e.g., Docker Compose, Swarm), as img focuses solely on image building and lacks those features
  • Developers on macOS or Windows seeking a native, out-of-the-box experience without container workarounds, since img's primary support is Linux
  • Environments with strict, unpatched kernel versions that cannot support unprivileged overlayfs, forcing reliance on slower or less efficient backends

Pros & Cons

Pros

Daemon-less Operation

Runs as a standalone binary without a background service, reducing resource overhead and simplifying deployment in restricted environments.

Unprivileged Security

Builds images as a non-root user by leveraging user namespaces and SUID binaries, making it ideal for multi-user setups like HPC and academia.

Docker-compatible UX

Commands mirror Docker's CLI for build, tag, push, and more, allowing seamless adoption by swapping 'docker' with 'img' in existing scripts.

Concurrent Build Efficiency

Uses BuildKit's DAG solver internally to execute multiple build stages in parallel, improving cache usage and potentially speeding up builds.

Cons

Complex System Requirements

Requires enabling user namespace support, installing packages like uidmap and libseccomp-dev, and ensuring sufficient /etc/subuid entries, which adds setup friction.

Limited Ecosystem Integration

Focuses only on core image operations and lacks Docker's broader tooling such as Compose or Swarm, limiting its use in full-container workflows.

Cross-platform Caveats

Native support is Linux-only; macOS and Windows users must run img inside a container, and cross-platform builds require QEMU setup for RUN commands.

Frequently Asked Questions

Quick Stats

Stars3,986
Forks233
Contributors0
Open Issues101
Last commit2 years ago
CreatedSince 2017

Tags

#rootless#dockerfile#cli-tool#docker#cli#linux#opencontainers#cross-platform#runc#containers#self-hosted#oci-compatible#container-image-builder#buildkit

Built With

G
Go
r
runc
B
BuildKit

Links & Resources

Website

Included in

Containers2.0k
Auto-fetched 1 day ago

Related Projects

divedive

A tool for exploring each layer in a docker image

Stars54,214
Forks1,990
Last commit5 months ago
kanikokaniko

Build Container Images In Kubernetes

Stars15,765
Forks1,535
Last commit1 year ago
skopeoskopeo

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

Stars10,953
Forks929
Last commit3 days ago
buildahbuildah

A tool that facilitates building OCI images.

Stars8,859
Forks901
Last commit3 days ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub