rebased on container registry semantics