Share Vercel Container Registry repositories across teams
Mirrored from Vercel — AI for archival readability. Support the source by reading on the original site.
Vercel Container Registry now lets you share a repository with other Vercel teams to grant read access to its images.
Sharing is read-only and covers the whole repository. Recipients can pull and use every image, but cannot push, delete, or re-share. You can also share a repository with your own team. Each repository can be shared with up to 100 teams.
Share from the project dashboard under Images → repository → Settings → Repository Sharing, or with the Vercel CLI:
# Share a repository with a teamvercel vcr permissions my-repository add other-team
# List teams with accessvercel vcr permissions my-repository ls
# Revoke a team's accessvercel vcr permissions my-repository rm other-team
# Remove all shared accessvercel vcr permissions my-repository clearShared images can be used in Vercel Sandbox, accepting a team-scoped image reference in Sandbox.create() :
import { Sandbox } from '@vercel/sandbox';
const sandbox = await Sandbox.create({ image: 'other-team/their-project/shared-repository:latest',Repository sharing is available on all plans. Update the Vercel CLI to v58.3.0 or later with npm i -g vercel@latest to get started and see the Vercel Container Registry documentation to learn more.
Discussion (0)
Sign in to join the discussion. Free account, 30 seconds — email code or GitHub.
Sign in →No comments yet. Sign in and be the first to say something.