Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add reproducible-containers/diffoci #19964

Merged

Conversation

ponkio-o
Copy link
Sponsor Contributor

reproducible-containers/diffoci: diff for Docker and OCI container images

$ aqua g -i reproducible-containers/diffoci

How to confirm if this package works well

Reviewers aren't necessarily familiar with this package, so please describe how to confirm if this package works well.
Please confirm if this package works well yourself as much as possible.

Command and output

root@5eb37ce38bcd:/workspace# diffoci --help
diff for container images

Usage:
  diffoci [command]

Examples:
  # Basic
  diffoci diff --semantic alpine:3.18.2 alpine:3.18.3

  # Dump conflicting files to ~/diff
  diffoci diff --semantic --report-dir=~/diff alpine:3.18.2 alpine:3.18.3

  # Compare local Docker images
  diffoci diff --semantic docker://foo docker://bar


Available Commands:
  completion  Generate the autocompletion script for the specified shell
  diff        Diff images
  help        Help about any command
  images      List images
  info        Display diagnostic information
  load        Load an image archive (Docker or OCI) from STDIN
  pull        Pull an image
  remove      Remove images

Flags:
      --backend string                backend (auto|containerd|local) [$DIFFOCI_BACKEND] (default "auto")
      --containerd-address string     containerd address [$CONTAINERD_ADDRESS] (default "/run/containerd/containerd.sock")
      --containerd-namespace string   containerd namespace [$CONTAINERD_NAMESPACE] (default "default")
      --debug                         debug mode [$DEBUG]
  -h, --help                          help for diffoci
      --local-cache string            local cache [$DIFFOCI_LOCAL_CACHE] (default "/var/cache/diffoci")
  -v, --version                       version for diffoci

Use "diffoci [command] --help" for more information about a command.

If files such as configuration file are needed, please share them.

Reference

[reproducible-containers/diffoci](https://github.com/reproducible-containers/diffoci): diff for Docker and OCI container images
@suzuki-shunsuke suzuki-shunsuke added the enhancement New feature or request label Feb 14, 2024
@suzuki-shunsuke suzuki-shunsuke added this to the v4.134.1 milestone Feb 14, 2024
@suzuki-shunsuke
Copy link
Member

Thank you!

@suzuki-shunsuke suzuki-shunsuke merged commit 07c99d3 into aquaproj:main Feb 14, 2024
16 checks passed
@ponkio-o ponkio-o deleted the feat/reproducible-containers/diffoci branch February 14, 2024 07:14
@suzuki-shunsuke
Copy link
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants