compose_diff

diff docker-compose files


Keywords
docker-compose, diff, docker, yml, compare, compose, devops
License
MIT
Install
pip install compose_diff==0.4.0

Documentation

Build Status Docker Build PyPi downloads PyPi version Docker pulls

compose_diff

Diff docker-compose files. When deploying using docker-compose, these files could be used to generate Release Notes. Especially interesting is to diff two docker-compose Releases by each other, then customers know the changed components and testers know which part to especially test.

Usage

Via Python

Install it via: pip3 install compose_diff

After that use it like

compose_diff --versions old.yml new.yml this will print the differences in the used versions/tags between the two compose files.

compose_diff --instances old.yml new.yml this will print the amount of instances of this image between the two compose files.

Features

  • Support for Version 2 and Version 1.
  • Diffs Image Versions
  • Diffs Image Instances
  • Output in Markdown and CSV format