Troubleshooting
Quick Fixes
Section titled “Quick Fixes”| Problem | Solution |
|---|---|
| Container won’t start | coderaft cleanup --all then retry |
| Volume permission errors | Add user: "1000:1000" to config |
| Port already in use | Change port or docker ps to find conflict |
| Changes not persisting | Check volume mounts in config |
| Slow performance | Adjust resources in config |
Common Errors
Section titled “Common Errors””Cannot connect to Docker daemon"
Section titled “”Cannot connect to Docker daemon"”# Start Docker servicesudo systemctl start docker
# Or check Docker Desktop is running (Windows/macOS)"Image not found"
Section titled “"Image not found"”# Pull image manuallydocker pull buildpack-deps:bookworm"Container already exists"
Section titled “"Container already exists"”coderaft destroy my-projectcoderaft init my-project"Permission denied”
Section titled “"Permission denied””# Add user to docker groupsudo usermod -aG docker $USER# Log out and back inDebug Commands
Section titled “Debug Commands”# Check statuscoderaft status
# View Docker logsdocker logs <container-id>
# Inspect containerdocker inspect <container-id>
# Reset everythingcoderaft cleanup --allStill Stuck?
Section titled “Still Stuck?”- Check FAQ
- Try
coderaft cleanup --alland reinitialize - Open an issue with
coderaft statusoutput