Run it
In the dashboard, open Migrate, then Adopt this host. From the CLI:GET /api/v1/migration/adopt/discovery.
Who can run it
Discovery reads the whole host, so it needs the root ability. Agent tokens are refused. It covers the Docker daemon of the control plane’s own node, not remote nodes.What is returned
For each container: name, image, state, ports, volumes and bind mounts, networks, restart policy, and Compose project and service labels. Environment variable values are never returned, only names. Names that look secret, judged by the name or the value, are marked. Commands and other label values are not returned either. Host paths of bind mounts and Compose files are shown. Containers carrying Levelrail labels, from this instance or another one, are counted and left out.How containers are classified
An unknown container gets no proposed resource, and the preview says why.
What the preview tells you
- What would be created: apps, databases or a Compose app.
- What cannot be carried over: environment values, database and volume data, bind mounts, the Compose file, Docker socket access, privileged settings, devices, host networking and health checks.
- Risks: host ports that stay taken, shared volumes, moving image tags, stopped containers, missing restart policies and signs of another deploy tool.