-
Notifications
You must be signed in to change notification settings - Fork 18.9k
Rename docker volume #31154
Copy link
Copy link
Open
Labels
area/volumesVolumesVolumeskind/featureFunctionality or other elements that the project doesn't currently have. Features are new and shinyFunctionality or other elements that the project doesn't currently have. Features are new and shiny
Metadata
Metadata
Assignees
Labels
area/volumesVolumesVolumeskind/featureFunctionality or other elements that the project doesn't currently have. Features are new and shinyFunctionality or other elements that the project doesn't currently have. Features are new and shiny
I miss a command which I can use to rename a volume.
Once I have created a lot of modules and forget to name the volumes at the start, it gets really difficult to identify which volume contains what.
A command like
docker volume mv 27722c3065e2f074bc7f29963fe62f73669cb369617482596e222f9991daee57 my-nice-volume-namewould be nice.
If that is not possible (because the id is used in a definition), it would be nice to have the ability to add a short comment:
docker volume set-comment 27722c3065e2f074bc7f29963fe62f73669cb369617482596e222f9991daee57 "This is the volume /var/logs/ for my creat app"This comment should be visible in the list
docker volume ls.