# Red5d/docker-autocompose

Generate a docker-compose yaml definition from a running container

Repository: https://github.com/Red5d/docker-autocompose
Canonical: https://ross.abutalabs.com/products/docker-autocompose
Language: Python
License Family: other
Topics: docker, compose, docker-compose, automation
Last push: 2026-06-08T03:56:39+00:00

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

## Adoption (not part of the score)
Stars 2585, forks 227 (observed 2026-08-28T04:07:02.610710+00:00)

## What it is
A Python CLI tool that inspects running Docker containers and generates a docker-compose YAML definition from them. It supports multiple containers in one compose file and can run as a Docker image itself.

## Use cases
- generate docker-compose file from running container
- reverse-engineer compose yaml from existing docker containers
- migrate manually started containers to docker-compose
- export all running containers to a compose file
- recreate containers after deletion using compose

## When to choose
- you started containers with long docker run commands and want to manage them with compose
- you need to migrate containers between hosts as compose definitions
- you want to snapshot the configuration of running containers

## When to avoid
- you need to author compose files from scratch rather than from existing containers
- you need a GUI or continuous container management tool
- you require a permissively licensed dependency (GPLv2)

## Facets
- artifact type: cli-tool
- maturity: active
- function: developer-tools, configuration-management, yaml, cli
- domain: developer-tools
- platform: python, cli
- tags: docker-compose, container-migration, reverse-engineering-config, self-hosted, devops, containers, automation, linux, docker

## Member repositories
- Red5d/docker-autocompose (main) score 62

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:02.610710+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-30T02:22:27.392699+00:00, confidence not recorded.
  - readme: https://github.com/Red5d/docker-autocompose (fetched 2026-08-28T04:07:02.610710+00:00, sha 71891e818cc4)
  - registry_pypi: https://pypi.org/pypi/docker-autocompose/json (fetched 2026-08-29T10:04:52.026446+00:00, sha 488202a7947a)
- Data as of 2026-08-30T08:39:29.467469+00:00.
