I'm considering migrating my setups from Portainer to Dockhand and I'm curious about how straightforward this process is. I've been using Portainer to manage all my stacks and containers, but I'm eager to make the switch. I understand I'll need to adjust my bind mounts for my LXC/VMs to align them with Dockhand's file structure, but I'm wondering how simple the reconfiguration will actually be. I plan to keep Portainer running until I'm confident with Dockhand's deployment. Additionally, I'd like to hear about Dockhand's CPU usage. Should I run it on each LXC/VM, or would it be more efficient to operate a single Dockhand instance and connect via Hawser?
3 Answers
Here’s a step-by-step for migrating your stacks: 1. In Portainer, go to "Stack details". 2. Click "Editor" and then "Copy to clipboard." 3. In Dockhand, create a new stack. 4. Paste the code you copied. 5. Make sure to name the stack the same as in Portainer since Dockhand doesn’t automatically grab the stack name from the Compose YAML. 6. Don't forget to copy over your environment variables too! In Portainer, go to "Environment variables" -> "Advanced mode" and copy that. Then, paste it into Dockhand’s `.env`. Finally, click "Create and start." This should help get you set up!
Just out of curiosity, what’s prompting your switch to Dockhand? As someone new to self-hosting with Docker and Portainer, I’m wondering if it’s for performance reasons, ease of use, or just a desire to try something new? I genuinely enjoy deploying stacks through Portainer with my configurations documented off-site.
If you're using Docker Compose, switching should be pretty smooth. Just spin up a Dockhand container, and you should be good to go. If you're not using Compose, you can extract your running configuration from each of your containers to build a Compose file. I just spent a few days doing this myself, and honestly, I should've made the switch ages ago! Here's how you can extract your container settings: `docker run --rm -v /var/run/docker.sock:/var/run/docker.sock ghcr.io/red5d/docker-autocompose `.

Related Questions
How To Get Your Domain Unblocked From Facebook
How To Find A String In a Directory of Files Using Linux