https://github.com/theobori/docker-v
đ Docker volume manager
https://github.com/theobori/docker-v
Last synced: 1 day ago
JSON representation
đ Docker volume manager
- Host: GitHub
- URL: https://github.com/theobori/docker-v
- Owner: theobori
- License: mit
- Created: 2023-10-02T09:41:21.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-10-07T09:34:53.000Z (over 1 year ago)
- Last Synced: 2023-10-07T10:29:12.593Z (over 1 year ago)
- Language: Shell
- Homepage:
- Size: 7.81 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# đ docker-v
A tiny CLI to import and export Docker volumes.
## đ How to build and run ?
1. Install the dependencies
- `bash>=4.0` (or at least a shell supporting bash)## â Use cases
Here are some usage examples.
### đĨ Export
Export a Docker volume to a directory
```bash
./docker-v \
-v volume_name \
-e
```Export a Docker volume to a tarball
```bash
./docker-v \
-v volume_name \
-a output.tar.gz \
-e
```### đ¤ Import
Import a directory to a Docker volume
```bash
./docker-v \
-v volume_name \
-d input_dir -i
```Import a tarball (then extract) to a Docker volume
```bash
./docker-v \
-v volume_name \
-d dir_path \
-a input.tar.gz \
-i
```## âšī¸ Scripts informations
To get more informations about the CLI arguments, you can run `./docker-v -h`.