[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 model restart-runner

DescriptionRestart Docker Model Runner (Docker Engine only)
Usagedocker model restart-runner

Description

This command restarts the Docker Model Runner without pulling container images. Use this command to restart the runner when you already have the required images locally.

For the first-time setup or to ensure you have the latest images, use docker model install-runner instead.

Options

OptionDefaultDescription
--debugEnable debug logging
--do-not-trackDo not track models usage in Docker Model Runner
--gpuautoSpecify GPU support (none|auto|cuda|rocm|musa|cann)
--host127.0.0.1Host address to bind Docker Model Runner
--portDocker container port for Docker Model Runner (default: 12434 for Docker Engine, 12435 for Cloud mode)