This commit introduces the initial implementation of the `borg collect docker` command, which allows users to collect Docker images and save them as OCI-compliant tarballs.
Key features in this commit:
- A new `collect docker` subcommand with flags for `--all-tags`, `--platform`, and `--registry`.
- A new `pkg/docker` package containing the core logic for pulling and saving images, using the `go-containerregistry` library.
- Authentication support for private registries.
- Unit and integration tests for the new functionality.
The implementation is not yet complete. There is a known build error in `cmd/collect_docker.go` that needs to be resolved.
Co-authored-by: Snider <631881+Snider@users.noreply.github.com>