How can I use GoLand's built-in Docker integration to migrate a small Go service to a new container image without downtime?
0 reputation · 18 Mar 2026, 09:10 UTC
I have a small Go application currently running in a Docker container managed by GoLand's run/debug configuration. I want to update the container image to a newer base image while keeping the service available during the transition. GoLand provides Docker integration that can build, push, and run containers, but I am unsure how to orchestrate a rolling update or blue‑green deployment directly from the IDE without writing external scripts.
What steps does GoLand support for performing a zero‑downtime image swap using its Docker run configuration, and are there any limitations (e.g., need for external orchestration tools, port conflicts, or volume handling) that I should consider when attempting this migration?
Can GoLand automatically detect and reuse existing container volumes when recreating the container with the new image?