Skip to content

Latest commit

 

History

History
40 lines (28 loc) · 1.17 KB

README.md

File metadata and controls

40 lines (28 loc) · 1.17 KB

docker-volumerename

Docker CLI plugin to rename volumes.

Requirements

  • Docker for Mac
    • Docker >= 1.19.3
  • Python >= 3.8

Installation

mkdir ~/.docker/cli-plugins
cd ~/.docker/cli-plugins
curl -o docker-volumerename https://raw.githubusercontent.com/gh640/docker-volumerename/main/docker-volumerename.py
chmod u+x docker-volumerename

You can check if it's successfully installed:

docker 2>&1 | grep volumerename
  volumerename*Rename a volume (Goto Hayato, 0.1.0)

Usage

docker volumerename [-h] [--dyr-run] volume_from volume_to

See detail with docker volumerename --help.

Reference