---
title: "DF8100: Dock Already Registered"
description: "Dock with id \"{id}\" is already registered"
canonical_url: "https://devfra.me/errors/df8100"
---
# DF8100: Dock Already Registered

> Dock with id "\{id}" is already registered

## Message

> Dock with id "`{id}`" is already registered

## Cause

`ctx.docks.register(view)` was called with an `id` another dock already owns. Dock ids are unique per hub context.

## Fix

- Pick a different dock id (namespace under your tool's id, e.g. `my-tool:overview`).
- To overwrite intentionally (e.g. hot reload), use the `force` parameter: `ctx.docks.register(view, true)`.

## Source

- [`packages/hub/src/node/host-docks.ts`](https://github.com/devframes/devframe/blob/main/packages/hub/src/node/host-docks.ts): `DevframeDocksHost.register()` throws when `views.has(view.id) && !force`.


## Sitemap

See the full [sitemap](https://devfra.me/sitemap.md) for all pages.
