# upserve/docker-api

A lightweight Ruby client for the Docker Remote API

Repository: https://github.com/upserve/docker-api
Canonical: https://ross.abutalabs.com/products/docker-api
Language: Ruby
License: MIT
License Family: permissive
Last push: 2025-04-01T20:44:05+00:00

## Health v2 (maintenance only)
Score: 29/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 14, release rhythm 8, longevity 100
- inputs: {"age_days": 4829, "days_push": 519, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1125, forks 287 (observed 2026-08-28T04:03:40.993868+00:00)

## What it is
A lightweight Ruby gem providing an object-oriented client for the Docker Engine Remote API, with every API method implemented. It also supports podman via its Docker-compatible API socket.

## Use cases
- manage docker containers from ruby
- script docker operations in ruby
- build ruby tooling on top of the docker engine api
- control docker images and containers programmatically
- use podman from ruby via the docker-compatible socket
- automate container lifecycle in ruby applications

## When to choose
- you need a full-featured, idiomatic Ruby wrapper for the Docker Engine API
- you want a lightweight client with minimal state caching
- you need SSL/TLS support and configurable Docker host connections
- you want to script or automate Docker from Ruby

## When to avoid
- you need a Docker client for a language other than Ruby
- you only need to build and ship Docker images as Debian packages (consider the dockly gem instead)
- you require a client for a Docker version far newer than what the gem targets without verifying compatibility

## Facets
- artifact type: library
- maturity: active
- function: http-client, developer-tools, container-runtime
- domain: developer-tools
- platform: ruby
- tags: docker-client, docker-engine-api, podman, excon, gem, containers, devops, automation, linux, macos, docker

## Member repositories
- upserve/docker-api (main) score 29

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:40.993868+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:39:36.152440+00:00, confidence not recorded.
  - readme: https://github.com/upserve/docker-api (fetched 2026-08-28T04:03:40.993868+00:00, sha 36cb86a58582)
- Data as of 2026-08-30T08:39:29.467469+00:00.
