moved ContainerRegistry to instance