Rename product to dockmv (container, image, module, env vars)

Container/image/service name, Go module path, CLI binary name, and
DOCKER_MIGRATE_* env vars still used the old working name; the project
is branded DockMV everywhere else (README, logo, Gitea repo).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
2026-08-11 13:56:26 +02:00
co-authored by Claude Sonnet 5
parent 832af4aaae
commit 34e18987a0
32 changed files with 113 additions and 109 deletions
+4 -4
View File
@@ -4,7 +4,7 @@ import (
"fmt"
"strings"
"github.com/arescom/docker-migrate/internal/spec"
"github.com/arescom/dockmv/internal/spec"
)
// renderInstaller generates the shell script shipped inside a migration
@@ -451,14 +451,14 @@ seed_readonly() { # container image destination relpath compressed
store="$(resolve_mount "$1" "$3")" || { err "cannot resolve storage behind $3"; return 1; }
base="${3##*/}"
stage="dm-stage-$$-${RANDOM}"
mountat="/__docker_migrate/$base"
mountat="/__dockmv/$base"
$DOCKER create --name "$stage" --volume "$store:$mountat" "$2" >/dev/null \
|| { err "could not create staging container for $3"; return 1; }
local rc=0
if [ "$5" = 1 ]; then
gzip -dc -- "$PKGDIR/$4" | $DOCKER cp -a - "$stage:/__docker_migrate" || rc=$?
gzip -dc -- "$PKGDIR/$4" | $DOCKER cp -a - "$stage:/__dockmv" || rc=$?
else
$DOCKER cp -a - "$stage:/__docker_migrate" < "$PKGDIR/$4" || rc=$?
$DOCKER cp -a - "$stage:/__dockmv" < "$PKGDIR/$4" || rc=$?
fi
$DOCKER rm -f "$stage" >/dev/null 2>&1 || true
if [ "$rc" != 0 ]; then
+1 -1
View File
@@ -11,7 +11,7 @@ import (
"testing"
"time"
"github.com/arescom/docker-migrate/internal/spec"
"github.com/arescom/dockmv/internal/spec"
)
func buildPrepared(t *testing.T, c *spec.Container, vols []spec.Volume, nets []spec.Network) *Prepared {
+4 -4
View File
@@ -15,9 +15,9 @@ import (
"strings"
"time"
"github.com/arescom/docker-migrate/internal/dkr"
"github.com/arescom/docker-migrate/internal/job"
"github.com/arescom/docker-migrate/internal/spec"
"github.com/arescom/dockmv/internal/dkr"
"github.com/arescom/dockmv/internal/job"
"github.com/arescom/dockmv/internal/spec"
)
// PackageFormat selects how the finished package is laid out on disk.
@@ -102,7 +102,7 @@ func (p *Packager) Run(ctx context.Context, j *job.Job) (*Result, error) {
man := spec.Manifest{
FormatVersion: 1,
CreatedAt: time.Now(),
CreatedBy: "docker-migrate",
CreatedBy: "dockmv",
SourceHost: p.SourceHost,
Options: opts,
Items: p.Plan.Items,
+2 -2
View File
@@ -8,7 +8,7 @@ import (
"path"
"strings"
"github.com/arescom/docker-migrate/internal/spec"
"github.com/arescom/dockmv/internal/spec"
)
// Prepared is one container resolved against the user's selection: the spec as
@@ -189,7 +189,7 @@ func Prepare(
// StagingMountPath is where a read-only destination is mounted inside the
// temporary staging container used to seed it.
const stagingRoot = "/__docker_migrate"
const stagingRoot = "/__dockmv"
// StagingPaths returns the mount point and the extraction directory used when
// seeding a read-only mount through a staging container. The volume is mounted
+1 -1
View File
@@ -4,7 +4,7 @@ import (
"strings"
"testing"
"github.com/arescom/docker-migrate/internal/spec"
"github.com/arescom/dockmv/internal/spec"
)
func sample() *spec.Container {
+4 -4
View File
@@ -10,10 +10,10 @@ import (
"sync"
"time"
"github.com/arescom/docker-migrate/internal/dkr"
"github.com/arescom/docker-migrate/internal/job"
"github.com/arescom/docker-migrate/internal/spec"
"github.com/arescom/docker-migrate/internal/sshx"
"github.com/arescom/dockmv/internal/dkr"
"github.com/arescom/dockmv/internal/job"
"github.com/arescom/dockmv/internal/spec"
"github.com/arescom/dockmv/internal/sshx"
)
// SSHRunner migrates containers straight from the local daemon to a target