testcontainers-rs
testcontainers-rs copied to clipboard
feat: add `registry` and `owner` parameters to `Image`
It's alternative solution for https://github.com/testcontainers/testcontainers-rs/pull/549 A bit more user-friendly because operates with separate entities, but kinda redundant. Instead of configuring 1 parameter to override, users will have to split it to 3.
E.g: gallery.ecr.aws/docker/library/redis should be represented as:
- registry:
gallery.ecr.aws - owner:
docker/library - name:
redis
But user actually can just pass gallery.ecr.aws/docker/library/redis to name, or gallery.ecr.aws/docker/library to owner. We can't protect it.
Adds ability to set registry and owner on per-Image basis, and override them with RunnableImage.
Closes #335