Rename a Docker Compose project by migrating volumes to a new project prefix.
Project description
compose-rename
Rename a Docker Compose project by migrating volumes to a new project prefix.
Run with uvx (no install)
- From PyPI (after publishing):
uvx compose-rename --help
- From a Git repository (without publishing yet):
uvx --from git+https://github.com/jonasjancarik/compose-rename@main compose-rename --help
Usage
compose-rename \
--project-dir /path/to/project \
--new-name newproj \
[--old-name oldproj] \
[--mode labels|prefix] \
[--dry-run] [--skip-down] [--up-after] [--rename-dir] [--force-overwrite]
Test first with --dry-run. Requires Docker CLI and PyYAML.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
compose_rename-0.1.0.tar.gz
(5.6 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file compose_rename-0.1.0.tar.gz.
File metadata
- Download URL: compose_rename-0.1.0.tar.gz
- Upload date:
- Size: 5.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
621204577bccda1c3bc8222cb9525470bdec7220669657f5e4e6b5b7accaf44d
|
|
| MD5 |
2d38e5ed5f55e45bb95a9e42331e8905
|
|
| BLAKE2b-256 |
101a10455dba2904db223675cf8f6a538c3b33e0bb2718807d9a3d87506c6993
|
File details
Details for the file compose_rename-0.1.0-py3-none-any.whl.
File metadata
- Download URL: compose_rename-0.1.0-py3-none-any.whl
- Upload date:
- Size: 6.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2169ad11259a298457d7c5ada648fee97e1f9088711200d5059710aeb1c8bb1e
|
|
| MD5 |
42ff74736345294e7061ef64f90c08bc
|
|
| BLAKE2b-256 |
cbe5da57e59d8cd45f2cbd53265271c3758a3d33f2d28e504a365c7ddffdc960
|