openstorage icon indicating copy to clipboard operation
openstorage copied to clipboard

Volumes created through docker volume commands do not persist the labels

Open adityadani opened this issue 5 years ago • 0 comments

Is this a BUG REPORT or FEATURE REQUEST?: BUG REPORT

What happened: Volumes created using the docker volume create command with labels passed through --opt argument do not contain the provided labels

What you expected to happen: A volume created with labels should have the labels.

How to reproduce it (as minimally and precisely as possible):

sudo docker volume create -d pxd --name=dcVol1 --opt size=10 --opt fs=ext4 --opt block_size=4 --opt repl=1 --opt label=name=sqldisk,type=production 

The new volume dcVol1 does not have the expected label sqldisk,type=production

adityadani avatar Jan 10 '19 22:01 adityadani