[go: up one dir, main page]

Share feedback
Answers are generated based on the documentation.
{ const container = $el; // The div with overflow const item = document.getElementById('sidebar-current-page') if (item) { const containerTop = container.scrollTop; const containerBottom = containerTop + container.clientHeight; const itemTop = item.offsetTop - container.offsetTop; const itemBottom = itemTop + item.offsetHeight; // Scroll only if the item is out of view if (itemBottom > containerBottom - 200) { container.scrollTop = itemTop - (container.clientHeight / 2 - item.offsetHeight / 2); } } })" class="bg-background-toc dark:bg-background-toc fixed top-0 z-40 hidden h-screen w-full flex-none overflow-x-hidden overflow-y-auto md:sticky md:top-16 md:z-auto md:block md:h-[calc(100vh-64px)] md:w-[320px]" :class="{ 'hidden': ! $store.showSidebar }">

docker scout watch

DescriptionWatch repositories in a registry and push images and indexes to Docker Scout
Usagedocker scout watch

Description

The docker scout watch command watches repositories in a registry and pushes images or image indexes to Docker Scout.

Options

OptionDefaultDescription
--all-imagesPush all images instead of only the ones pushed during the watch command is running
--dry-runWatch images and prepare them, but do not push them
--interval60Interval in seconds between checks
--orgNamespace of the Docker organization to which image will be pushed
--refresh-registryRefresh the list of repositories of a registry at every run. Only with --registry.
--registryRegistry to watch
--repositoryRepository to watch
--sbomtrueCreate and upload SBOMs
--tagRegular expression to match tags to watch
--workers3Number of concurrent workers

Examples

Watch for new images from two repositories and push them $ docker scout watch --org my-org --repository registry-1.example.com/repo-1 --repository registry-2.example.com/repo-2

Only push images with a specific tag $ docker scout watch --org my-org --repository registry.example.com/my-service --tag latest

Watch all repositories of a registry $ docker scout watch --org my-org --registry registry.example.com

Push all images and not just the new ones $ docker scout watch --org my-org --repository registry.example.com/my-service --all-images