Migrating from ComfyDock v0.x¶
Important information for users of the old Docker-based ComfyDock (v0.1.x - v0.3.x).
Breaking Changes
ComfyDock v1.0+ is a complete rewrite with a fundamentally different architecture. The Docker-based v0.x and UV-based v1.x cannot coexist — they are separate tools with different commands and workflows.
What changed?¶
v0.x (Docker-based)¶
- Architecture: Docker containers + GUI
- Command:
comfydock - Storage:
~/.comfydock/ - Environments: Docker images with mounted volumes
- Management: Web GUI with environment cards
- Sharing: Commit containers to Docker Hub
v1.0+ (UV-based)¶
- Architecture: UV virtual environments + CLI
- Command:
cfd - Storage:
~/comfydock/(configurable) - Environments: Native Python environments with git
- Management: Command-line interface
- Sharing: Export tarballs or Git remotes
Why the rewrite?¶
Problems with Docker approach:
- Large Docker images (5-10GB+ per environment)
- Complex volume mounting configurations
- Performance overhead from containerization
- Limited sharing options (Docker Hub only)
- GUI locked users into specific workflow
Benefits of UV approach:
- Smaller environments (PyTorch shared, only custom nodes differ)
- Native filesystem performance
- Standard Python tooling (pyproject.toml, pip-compatible)
- Multiple sharing options (tarballs, GitHub, GitLab)
- CLI enables scripting and automation
- Git-based version control built-in
Migration strategy¶
There is no automatic migration from v0.x to v1.x. You need to recreate your environments manually.
Recommended approach¶
For each Docker-based environment:
-
Document your setup:
-
Export workflows: Save your workflow JSON files
-
Note your models: Record which models you were using
-
Create new v1.x environment:
-
Add custom nodes:
!!! warning "Skip ComfyUI-Manager"
Don't install comfyui-manager in v1.x - ComfyDock replaces its functionality with cfd node add.
-
Load workflows:
-
Index your models:
Coexistence¶
v0.x and v1.x use different directories and commands, so they can technically coexist:
| Aspect | v0.x | v1.x |
|---|---|---|
| Command | comfydock |
cfd |
| Storage | ~/.comfydock/ |
~/comfydock/ |
| Technology | Docker | UV + Python venvs |
However, there's no integration between them. Choose one and stick with it.
Deprecation timeline¶
- v0.x status: No longer actively developed
- v0.x support: Community support only, no new features
- v1.x status: Active development, all new features
Legacy documentation
Old Docker-based documentation is available under Legacy Docs (v0.x) for reference.
Frequently asked questions¶
Can I convert a Docker image to a v1.x environment?
No automatic conversion exists. You need to manually recreate the environment by:
- Listing custom nodes in the Docker container
- Creating a new v1.x environment
- Adding the same nodes via
cfd node add
Will my old workflows work in v1.x?
Yes! Workflow JSON files are compatible. ComfyDock v1.x can resolve dependencies from workflow files using cfd workflow resolve.
What about my models?
Models are just files—they work in both versions. Point v1.x to your existing models directory:
Can I still use v0.x?
Yes, but it's no longer maintained. Install the old version:
I prefer the GUI. Does v1.x have one?
No. ComfyDock v1.x is CLI-only by design. The CLI enables:
- Scripting and automation
- Integration with CI/CD
- Better team collaboration via Git
- Faster, more flexible workflows
What about my Docker-based environments?
They're unaffected. v1.x doesn't touch Docker containers. You can keep using them or delete them when ready to switch.
Example migration¶
Here's a real-world migration example:
Old v0.x environment "production":
- ComfyUI v0.2.0
- Custom nodes: Impact-Pack, ControlNet-Aux, Depthflow-Nodes
- Models: SD1.5, Deliberate v2, various LoRAs
- Workflows: 10 JSON files
Migration steps:
# 1. Install v1.x
uv tool install comfydock-cli
# 2. Initialize workspace
cfd init ~/comfydock
# 3. Create equivalent environment
cfd create production --use
# 4. Add custom nodes
cfd node add comfyui-depthflow-nodes
cfd node add comfyui-impact-pack
cfd node add comfyui-controlnet-aux
# 5. Index existing models
cfd model index dir /home/user/models
cfd model index sync
# 6. Copy workflows
cp ~/.comfydock/production/workflows/*.json \
~/comfydock/environments/production/ComfyUI/user/default/workflows/
# 7. Commit the setup
cfd commit -m "Migrated from v0.x Docker environment"
# 8. Test
cfd run
Result:
- Smaller disk usage (no Docker image overhead)
- Git-based version control
- Same custom nodes and workflows
- Native filesystem performance
Need help?¶
If you're stuck during migration:
- Ask on GitHub Discussions
- Check troubleshooting guide
- Report issues on GitHub Issues
Next steps¶
After migrating:
- Read the Quickstart guide to learn v1.x workflows
- Understand Core Concepts like .cec and git-based versioning
- Explore Version Control features